summaryrefslogtreecommitdiffstats
path: root/source/helper.c
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2017-01-08 17:18:49 +0100
committerDave Davenport <qball@gmpclient.org>2017-01-08 17:18:49 +0100
commit26efbecbc3c1c4c0102cb99a4c7a5aac84ff8f38 (patch)
treed4aa34801d8d3d00b9fee59dbf6cc6f809c394a5 /source/helper.c
parentce2cf6b2d991450439ede056d8f89bcf788ee410 (diff)
Fix multiple -theme-str lines parsing, fix num lines
Diffstat (limited to 'source/helper.c')
-rw-r--r--source/helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/helper.c b/source/helper.c
index dd26d828..bbaf03c3 100644
--- a/source/helper.c
+++ b/source/helper.c
@@ -309,7 +309,7 @@ const char ** find_arg_strv ( const char *const key )
int index = 0;
for ( int i = 0; i < stored_argc; i++ ) {
if ( strcasecmp ( stored_argv[i], key ) == 0 && i < (stored_argc -1 ) ){
- retv[index] = stored_argv[i+1];
+ retv[index++] = stored_argv[i+1];
}
}
}