aboutsummaryrefslogtreecommitdiffstats
path: root/src/c_opts.c
diff options
context:
space:
mode:
authorjozan <jozan@noemail.net>2020-11-06 20:51:21 +0000
committerjozan <jozan@noemail.net>2020-11-06 20:51:21 +0000
commitcebeeeb5a84162400bf5a0cd63538b7098bd5fbd (patch)
tree2dd0ec4af1483b745bb798928031ed38da30463c /src/c_opts.c
parentCreated branch go-full stack (diff)
downloadunixize-cebeeeb5a84162400bf5a0cd63538b7098bd5fbd.tar.gz
unixize-cebeeeb5a84162400bf5a0cd63538b7098bd5fbd.tar.bz2
unixize-cebeeeb5a84162400bf5a0cd63538b7098bd5fbd.tar.xz
unixize-cebeeeb5a84162400bf5a0cd63538b7098bd5fbd.tar.zst
unixize-cebeeeb5a84162400bf5a0cd63538b7098bd5fbd.zip
Bug fix
FossilOrigin-Name: a0c49e9e138d0cf3e06afabad670ecf82a7382d68b29ddbe4a9bed8b77779da6
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;