summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--desktop/unx/source/args.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/unx/source/args.c b/desktop/unx/source/args.c
index 34d3064abd16..19301f5948f1 100644
--- a/desktop/unx/source/args.c
+++ b/desktop/unx/source/args.c
@@ -101,7 +101,7 @@ Args *args_parse (void)
if (arg[0] != '-')
continue;
- while (length > 2 && arg[0] == '-') {
+ while (length > 1 && arg[0] == '-') {
arg++;
length--;
}