[gdk-pixbuf] pixdata: Add "-r" as an alias for "--rle"
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdk-pixbuf] pixdata: Add "-r" as an alias for "--rle"
- Date: Fri, 16 Dec 2016 15:38:50 +0000 (UTC)
commit 2396b4d67751e51a3ca05443af1aa69192ad3869
Author: Bastien Nocera <hadess hadess net>
Date: Fri Dec 16 15:52:47 2016 +0100
pixdata: Add "-r" as an alias for "--rle"
https://bugzilla.gnome.org/show_bug.cgi?id=775693
gdk-pixbuf/gdk-pixbuf-pixdata.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gdk-pixbuf/gdk-pixbuf-pixdata.c b/gdk-pixbuf/gdk-pixbuf-pixdata.c
index f753e99..76c27ed 100644
--- a/gdk-pixbuf/gdk-pixbuf-pixdata.c
+++ b/gdk-pixbuf/gdk-pixbuf-pixdata.c
@@ -115,7 +115,8 @@ parse_args (gint *argc_p,
for (i = 1; i < argc; i++)
{
- if (strcmp ("--rle", argv[i]) == 0)
+ if (strcmp ("-r", argv[i]) == 0 ||
+ strcmp ("--rle", argv[i]) == 0)
{
use_rle = TRUE;
argv[i] = NULL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]