aboutsummaryrefslogtreecommitdiffstats
path: root/src/c_opts.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/c_opts.c')
-rw-r--r--src/c_opts.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/c_opts.c b/src/c_opts.c
index e9548d4..d9dd504 100644
--- a/src/c_opts.c
+++ b/src/c_opts.c
@@ -99,8 +99,7 @@ c_recursive_parse
{
char** ptr;
- ptr = (char**)argv;
- ptr++;
+ ptr = (char**)argv + 1;
while (*ptr != NULL) {
if ((*ptr)[1] == 'a') {
opts->hidden = TRUE;