forked from AuroraMiddleware/gtk
Don't use bitwise operators on booleans. (#130923, reported by Telsa
Thu Jan 8 22:01:14 2004 Matthias Clasen <maclas@gmx.de> * queryloaders.c (loader_sanity_check): Don't use bitwise operators on booleans. (#130923, reported by Telsa Gwynne, fix by Dave Jones)
This commit is contained in:
parent
bc494c71f5
commit
ecceb20a8b
@ -1,3 +1,8 @@
|
||||
Thu Jan 8 22:01:14 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* queryloaders.c (loader_sanity_check): Don't use bitwise operators
|
||||
on booleans. (#130923, reported by Telsa Gwynne, fix by Dave Jones)
|
||||
|
||||
2004-01-06 Federico Mena Quintero <federico@ximian.com>
|
||||
|
||||
* gdk-pixbuf-io.c (gdk_pixbuf_save): Escape an ampersand in the
|
||||
|
@ -100,7 +100,7 @@ loader_sanity_check (const char *path, GdkPixbufFormat *info, GdkPixbufModule *v
|
||||
goto error;
|
||||
}
|
||||
|
||||
if ((info->flags & GDK_PIXBUF_FORMAT_WRITABLE) & !vtable->save)
|
||||
if ((info->flags & GDK_PIXBUF_FORMAT_WRITABLE) && !vtable->save)
|
||||
{
|
||||
error = "loader claims to support saving but doesn't implement save";
|
||||
goto error;
|
||||
|
Loading…
Reference in New Issue
Block a user