summaryrefslogtreecommitdiff
path: root/gdk-pixbuf
diff options
context:
space:
mode:
authorMatthias Clasen <maclas@gmx.de>2003-11-05 23:28:53 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2003-11-05 23:28:53 +0000
commitbe525e68739c258a3d170543987224f4e4c80724 (patch)
tree4f8aadc0047f7e9161e24dd80b3d6d47fde80ead /gdk-pixbuf
parent2189dcfdbb9949ed2d66459d0194bda193b5b9f1 (diff)
downloadgdk-pixbuf-be525e68739c258a3d170543987224f4e4c80724.tar.gz
Fold two similar strings into on. (#126204, Danilo Segan)
Thu Nov 6 00:27:27 2003 Matthias Clasen <maclas@gmx.de> * io-pcx.c (gdk_pixbuf__pcx_load_increment): Fold two similar strings into on. (#126204, Danilo Segan)
Diffstat (limited to 'gdk-pixbuf')
-rw-r--r--gdk-pixbuf/ChangeLog5
-rw-r--r--gdk-pixbuf/io-pcx.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdk-pixbuf/ChangeLog b/gdk-pixbuf/ChangeLog
index af313a4dd..608e54531 100644
--- a/gdk-pixbuf/ChangeLog
+++ b/gdk-pixbuf/ChangeLog
@@ -1,3 +1,8 @@
+Thu Nov 6 00:27:27 2003 Matthias Clasen <maclas@gmx.de>
+
+ * io-pcx.c (gdk_pixbuf__pcx_load_increment): Fold two similar
+ strings into on. (#126204, Danilo Segan)
+
2003-09-19 Matthias Clasen <maclas@gmx.de>
* io-tga.c (try_preload): Remove a pointless check.
diff --git a/gdk-pixbuf/io-pcx.c b/gdk-pixbuf/io-pcx.c
index 10c26f3c2..5ccbeea5a 100644
--- a/gdk-pixbuf/io-pcx.c
+++ b/gdk-pixbuf/io-pcx.c
@@ -616,7 +616,7 @@ gdk_pixbuf__pcx_load_increment(gpointer data, const guchar *buf, guint size,
break;
case 1:
if(context->num_planes < 1 || context->num_planes > 4) {
- g_set_error(error, GDK_PIXBUF_ERROR, GDK_PIXBUF_ERROR_UNKNOWN_TYPE, _("Image has unsupported number of 1-bit planes"));
+ g_set_error(error, GDK_PIXBUF_ERROR, GDK_PIXBUF_ERROR_UNKNOWN_TYPE, _("Image has unsupported number of %d-bit planes"), 1);
return FALSE;
}
break;