diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/cg-base.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cg-base.c b/src/cg-base.c index 5aa9246..d6d2fcb 100644 --- a/src/cg-base.c +++ b/src/cg-base.c @@ -579,8 +579,8 @@ int main(int argc, char* argv[]) char* arg; int at_end; opt[1] = *args++; - arg = args + 1; - if ((at_end = !*args)) + arg = args; + if ((at_end = !*arg)) arg = argv[1]; if (!strcmp(opt, "-M")) { |