mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-12 13:30:19 +00:00
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)
This commit is contained in:
parent
2189dcfdbb
commit
be525e6873
@ -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.
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user