Use {} not () to group around string assigned to char[]. (#72767, Tomas

Wed Feb 27 18:33:04 2002  Owen Taylor  <otaylor@redhat.com>

	* gdk-pixdata.c (gdk_pixdata_to_csource): Use {} not
	() to group around string assigned to char[]. (#72767,
	Tomas gren)
This commit is contained in:
Owen Taylor 2002-02-27 23:45:05 +00:00 committed by Owen Taylor
parent c16da246f1
commit 80bf58e01d
2 changed files with 10 additions and 4 deletions

View File

@ -1,3 +1,9 @@
Wed Feb 27 18:33:04 2002 Owen Taylor <otaylor@redhat.com>
* gdk-pixdata.c (gdk_pixdata_to_csource): Use {} not
() to group around string assigned to char[]. (#72767,
Tomas Ögren)
2002-02-21 Havoc Pennington <hp@pobox.com>
* gdk-pixbuf-loader.c (gdk_pixbuf_loader_load_module): remove
@ -1218,7 +1224,7 @@ Wed Jun 21 16:02:48 2000 Owen Taylor <otaylor@redhat.com>
2000-06-05 Mathieu Lacage <mathieu@gnome.org>
* configure.in: add some gtk parameters to the
GDK_PIXBUF_LIB 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 <NotZed@HelixCode.com>
@ -1315,7 +1321,7 @@ Fri May 5 12:16:32 2000 Owen Taylor <otaylor@redhat.com>
* gdk-pixbuf/Makefile.am (INCLUDES): Add $(GNOME_CFLAGS).
Reported by Jens Finke.
2000-04-14 Tomasz Kpczko <kloczek@pld.org.pl>
2000-04-14 Tomasz K³opczko <kloczek@pld.org.pl>
* gdk-pixbuf/pixops/makefile.am: $(LIBART_CFLAGS) replaced by
$(GTK_CFLAGS) - now gdk-pixbuf compiles correctly.

View File

@ -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
*/