projects
/
platform
/
upstream
/
glib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make GOption remove long options completely. (#153113, Robert Ă–gren)
[platform/upstream/glib.git]
/
glib
/
goption.c
diff --git
a/glib/goption.c
b/glib/goption.c
index
a2738a7
..
2b70730
100644
(file)
--- a/
glib/goption.c
+++ b/
glib/goption.c
@@
-711,7
+711,7
@@
parse_long_option (GOptionContext *context,
gchar *value = NULL;
gchar *option_name;
- add_pending_null (context, &((*argv)[*index
+ 1
]), NULL);
+ add_pending_null (context, &((*argv)[*index]), NULL);
if (arg[len] == '=')
value = arg + len + 1;