mirror of https://github.com/GNOME/gimp.git
plug-ins: use !strcmp() not strcmp() to match strings, gah...
This commit is contained in:
parent
66bd90c9f2
commit
a4ab1fe97c
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue