summaryrefslogtreecommitdiff
path: root/gdk-pixbuf
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2007-10-16 18:42:04 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2007-10-16 18:42:04 +0000
commit365e7efc3533cbc706b7285f65dcf51034edbb1a (patch)
tree60a399a797fa9a2a12397299ad5a3e2913a31861 /gdk-pixbuf
parent6abe62c95b02e3023da0bf70efba3d71a3a9e943 (diff)
downloadgtk+-365e7efc3533cbc706b7285f65dcf51034edbb1a.tar.gz
Use better magic. (#339877, Bastien Nocera)
2007-10-16 Matthias Clasen <mclasen@redhat.com> * io-wbmp.c: Use better magic. (#339877, Bastien Nocera) svn path=/trunk/; revision=18915
Diffstat (limited to 'gdk-pixbuf')
-rw-r--r--gdk-pixbuf/ChangeLog4
-rw-r--r--gdk-pixbuf/io-wbmp.c5
2 files changed, 8 insertions, 1 deletions
diff --git a/gdk-pixbuf/ChangeLog b/gdk-pixbuf/ChangeLog
index 34b4b622a5..64da87b8fa 100644
--- a/gdk-pixbuf/ChangeLog
+++ b/gdk-pixbuf/ChangeLog
@@ -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 ===
diff --git a/gdk-pixbuf/io-wbmp.c b/gdk-pixbuf/io-wbmp.c
index c058c3a7ea..b7d75a41e8 100644
--- a/gdk-pixbuf/io-wbmp.c
+++ b/gdk-pixbuf/io-wbmp.c
@@ -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[] = {