plug-ins: use !strcmp() not strcmp() to match strings, gah...

This commit is contained in:
Michael Natterer 2012-11-02 13:52:31 +01:00
parent 66bd90c9f2
commit a4ab1fe97c
1 changed files with 2 additions and 2 deletions

View File

@ -212,7 +212,7 @@ run (const gchar *name,
{
const FileFormat *format = &file_formats[i];
if (strcmp (name, format->load_proc))
if (! strcmp (name, format->load_proc))
{
image_ID = load_image (param[1].data.d_string, &error);
@ -229,7 +229,7 @@ run (const gchar *name,
break;
}
else if (strcmp (name, format->save_proc))
else if (! strcmp (name, format->save_proc))
{
GimpExportReturn export = GIMP_EXPORT_CANCEL;