From 365e7efc3533cbc706b7285f65dcf51034edbb1a Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 16 Oct 2007 18:42:04 +0000 Subject: Use better magic. (#339877, Bastien Nocera) 2007-10-16 Matthias Clasen * io-wbmp.c: Use better magic. (#339877, Bastien Nocera) svn path=/trunk/; revision=18915 --- gdk-pixbuf/ChangeLog | 4 ++++ gdk-pixbuf/io-wbmp.c | 5 ++++- 2 files changed, 8 insertions(+), 1 deletion(-) 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 + + * io-wbmp.c: Use better magic. (#339877, Bastien Nocera) + 2007-09-13 Matthias Clasen * === 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[] = { -- cgit v1.2.1