[gimp/metadata-browser] file-xwd: Don't bother with return value of set_pixelmap()
- From: Roman Joost <romanofski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/metadata-browser] file-xwd: Don't bother with return value of set_pixelmap()
- Date: Fri, 2 Dec 2011 02:14:33 +0000 (UTC)
commit 2a1aa70253a85171fb10f63453cc78228f462866
Author: Mukund Sivaraman <muks banu com>
Date: Sat Oct 8 18:37:58 2011 +0530
file-xwd: Don't bother with return value of set_pixelmap()
plug-ins/common/file-xwd.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/plug-ins/common/file-xwd.c b/plug-ins/common/file-xwd.c
index 851fd3f..1b4cec3 100644
--- a/plug-ins/common/file-xwd.c
+++ b/plug-ins/common/file-xwd.c
@@ -1696,7 +1696,7 @@ load_xwd_f2_d24_b32 (const gchar *filename,
ncols = xwdhdr->l_colormap_entries;
if (xwdhdr->l_ncolors < ncols) ncols = xwdhdr->l_ncolors;
- ncols = set_pixelmap (ncols, xwdcolmap, &pixel_map);
+ set_pixelmap (ncols, xwdcolmap, &pixel_map);
/* What do we have to consume after a line has finished ? */
linepad = xwdhdr->l_bytes_per_line
@@ -1939,7 +1939,7 @@ load_xwd_f1_d24_b1 (const gchar *filename,
}
else
{
- ncols = set_pixelmap (ncols, xwdcolmap, &pixel_map);
+ set_pixelmap (ncols, xwdcolmap, &pixel_map);
}
do_reverse = !xwdhdr->l_bitmap_bit_order;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]