Index: polygon.c =================================================================== --- polygon.c (revision 36113) +++ polygon.c (revision 36114) @@ -39,6 +39,7 @@ #include "board.h" #include +#include #include "data.h" #include "draw.h" #include @@ -333,8 +334,9 @@ p->Clipped = biggest(merged); assert(!p->Clipped || rnd_poly_valid(p->Clipped)); if (!p->Clipped) { - rnd_message(RND_MSG_WARNING, "Polygon #%ld cleared out of existence near (%$mm, %$mm)\n", - p->ID, (p->BoundingBox.X1 + p->BoundingBox.X2) / 2, (p->BoundingBox.Y1 + p->BoundingBox.Y2) / 2); + rnd_message(RND_MSG_WARNING, "Polygon #%ld cleared out of existence near (%m+%$mS, %$mS)\n", + p->ID, rnd_conf.editor.grid_unit->allow, + (p->BoundingBox.X1 + p->BoundingBox.X2) / 2, (p->BoundingBox.Y1 + p->BoundingBox.Y2) / 2); rnd_message(RND_MSG_WARNING, "You can propedit it using action: propedit(object:%ld) or turn on poly as drawn frame and look around the above coords\n", p->ID); } return 1;