[gimp] file-pnm: Handle psvals.raw as boolean valued int
- From: Mukund Sivaraman <muks src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] file-pnm: Handle psvals.raw as boolean valued int
- Date: Mon, 3 Oct 2011 05:38:30 +0000 (UTC)
commit cf4d2709082a31339fba3f04ddbce4f24a831c0a
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]