diff --git a/gdk-pixbuf/ChangeLog b/gdk-pixbuf/ChangeLog index 04754dcd33..c4783fdd87 100644 --- a/gdk-pixbuf/ChangeLog +++ b/gdk-pixbuf/ChangeLog @@ -1,3 +1,9 @@ +Wed Feb 27 18:33:04 2002 Owen Taylor + + * gdk-pixdata.c (gdk_pixdata_to_csource): Use {} not + () to group around string assigned to char[]. (#72767, + Tomas Ögren) + 2002-02-21 Havoc Pennington * gdk-pixbuf-loader.c (gdk_pixbuf_loader_load_module): remove @@ -1218,7 +1224,7 @@ Wed Jun 21 16:02:48 2000 Owen Taylor 2000-06-05 Mathieu Lacage * configure.in: add some gtk parameters to the - GDK_PIXBUF_LIB²S and GDK_PIXBUG_INCLUDEDIR vars. One more + GDK_PIXBUF_LIB²S and GDK_PIXBUG_INCLUDEDIR vars. One more fight in my crusade for strange prefix compile... 2000-05-30 Not Zed @@ -1315,7 +1321,7 @@ Fri May 5 12:16:32 2000 Owen Taylor * gdk-pixbuf/Makefile.am (INCLUDES): Add $(GNOME_CFLAGS). Reported by Jens Finke. -2000-04-14 Tomasz K³opczko +2000-04-14 Tomasz K³opczko * gdk-pixbuf/pixops/makefile.am: $(LIBART_CFLAGS) replaced by $(GTK_CFLAGS) - now gdk-pixbuf compiles correctly. diff --git a/gdk-pixbuf/gdk-pixdata.c b/gdk-pixbuf/gdk-pixdata.c index b5d0835f9b..eaff61d28c 100644 --- a/gdk-pixbuf/gdk-pixdata.c +++ b/gdk-pixbuf/gdk-pixdata.c @@ -731,7 +731,7 @@ gdk_pixdata_to_csource (GdkPixdata *pixdata, cdata.static_prefix, cdata.const_prefix, cdata.dump_gtypes ? "guint8" : "unsigned char", name); - APPEND (gstring, "( \"\"\n /* Pixbuf magic (0x%x) */\n \"", + APPEND (gstring, "{ \"\"\n /* Pixbuf magic (0x%x) */\n \"", GDK_PIXBUF_MAGIC_NUMBER); cdata.pos = 3; save_uchar (&cdata, *stream++); save_uchar (&cdata, *stream++); @@ -799,7 +799,7 @@ gdk_pixdata_to_csource (GdkPixdata *pixdata, if (cdata.dump_struct) APPEND (gstring, "\",\n};\n\n"); if (cdata.dump_stream) - APPEND (gstring, "\");\n\n"); + APPEND (gstring, "\"};\n\n"); /* dump RLE decoder for macros */