[gimp] plug-ins: use !strcmp() not strcmp() to match strings, gah...
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] plug-ins: use !strcmp() not strcmp() to match strings, gah...
- Date: Fri, 2 Nov 2012 12:55:03 +0000 (UTC)
commit a4ab1fe97ce414ed1b8c593f65a9e0497fc9cb60
Author: Michael Natterer <mitch gimp org>
Date: Fri Nov 2 13:52:31 2012 +0100
plug-ins: use !strcmp() not strcmp() to match strings, gah...
plug-ins/common/file-gegl.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/plug-ins/common/file-gegl.c b/plug-ins/common/file-gegl.c
index 99a86ff..df325ff 100644
--- a/plug-ins/common/file-gegl.c
+++ b/plug-ins/common/file-gegl.c
@@ -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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]