aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/nnn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nnn.c b/src/nnn.c
index 083a752..6689468 100644
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -3578,9 +3578,9 @@ int main(int argc, char *argv[])
if (*copier < '0' || *copier > '7') {
fprintf(stderr, "invalid color code\n");
return 1;
- } else
- g_ctx[opt].color = *copier - '0';
+ }
+ g_ctx[opt].color = *copier - '0';
++copier;
++opt;
}