diff --git a/src/nnn.c b/src/nnn.c index 083a752a..66894683 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; }