Commit ecceb20a authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen

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)
parent bc494c71
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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment