]> Pileus Git - ~andy/gtk/commitdiff
Use better magic. (#339877, Bastien Nocera)
authorMatthias Clasen <mclasen@redhat.com>
Tue, 16 Oct 2007 18:42:04 +0000 (18:42 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Tue, 16 Oct 2007 18:42:04 +0000 (18:42 +0000)
2007-10-16  Matthias Clasen  <mclasen@redhat.com>

        * io-wbmp.c: Use better magic.  (#339877, Bastien Nocera)

svn path=/trunk/; revision=18915

gdk-pixbuf/ChangeLog
gdk-pixbuf/io-wbmp.c

index 34b4b622a5699edefccf254c8c7b8ac5483b8b6a..64da87b8fa24ffbd897cb8f0aabfbac19917bb00 100644 (file)
@@ -1,3 +1,7 @@
+2007-10-16  Matthias Clasen  <mclasen@redhat.com>
+
+       * io-wbmp.c: Use better magic.  (#339877, Bastien Nocera)
+
 2007-09-13  Matthias Clasen  <mclasen@redhat.com>
 
        * === Released 2.12.0 ===
index c058c3a7ea83ae9dbb83fdeb123e3e9d97aa97e3..b7d75a41e859ecec319150a2664fbc28dbd0f525 100644 (file)
@@ -357,7 +357,10 @@ void
 MODULE_ENTRY (wbmp, fill_info) (GdkPixbufFormat *info)
 {
        static GdkPixbufModulePattern signature[] = {
-               { " ", "z", 1 }, 
+               { "  ",    "zz", 1 }, 
+               { " \140", "z ", 1 },
+               { " \100", "z ", 1 },
+               { " \040", "z ", 1 },
                { NULL, NULL, 0 }
        };
        static gchar * mime_types[] = {