[gimp/metadata-browser] file-pnm: Handle psvals.raw as boolean valued int
- From: Roman Joost <romanofski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/metadata-browser] file-pnm: Handle psvals.raw as boolean valued int
- Date: Fri, 2 Dec 2011 02:01:57 +0000 (UTC)
commit 851f0173ba3ac99b42e837c23b8c6eb4952bbfdc
Author: Mukund Sivaraman <muks banu com>
Date: Mon Oct 3 11:08:16 2011 +0530
file-pnm: Handle psvals.raw as boolean valued int
plug-ins/common/file-pnm.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/plug-ins/common/file-pnm.c b/plug-ins/common/file-pnm.c
index d6ccc70..3863bda 100644
--- a/plug-ins/common/file-pnm.c
+++ b/plug-ins/common/file-pnm.c
@@ -1019,7 +1019,7 @@ save_image (const gchar *filename,
yres = drawable->height;
/* write out magic number */
- if (psvals.raw == FALSE)
+ if (!psvals.raw)
{
if (pbm)
{
@@ -1059,7 +1059,7 @@ save_image (const gchar *filename,
}
}
}
- else if (psvals.raw == TRUE)
+ else
{
if (pbm)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]