diff --git a/ChangeLog b/ChangeLog index da19028796..95ee2971dd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Thu Sep 9 15:12:36 PDT 1999 Manish Singh + + * 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 diff --git a/plug-ins/imagemap/imap_polygon.c b/plug-ins/imagemap/imap_polygon.c index 07eb846b26..25240e4d40 100644 --- a/plug-ins/imagemap/imap_polygon.c +++ b/plug-ins/imagemap/imap_polygon.c @@ -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);