fix gccism

-Yosh
This commit is contained in:
Manish Singh 1999-09-09 22:14:10 +00:00
parent f8bea681aa
commit 8bd9e29708
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,7 @@
Thu Sep 9 15:12:36 PDT 1999 Manish Singh <yosh@gimp.org>
* plug-ins/imagemap/imap_polygon.c: fix gccism
Thu Sep 9 22:23:06 CET 1999 vidar@prosalg.no (Vidar Madsen)
* plug-ins/common/spheredesigner.c: Various fixes/enhancements

View File

@ -442,7 +442,10 @@ polygon_fill_info_tab(Object_t *obj, gpointer data)
for (p = polygon->points; p; p = p->next) {
GdkPoint *point = (GdkPoint*) p->data;
char x[16], y[16];
char *text[] = {x, y};
char *text[2];
text[0] = x;
text[1] = y;
sprintf(x, "%d", point->x);
sprintf(y, "%d", point->y);