diff options
-rw-r--r-- | uxd.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -225,12 +225,12 @@ void parse_colors(char *arg) { /* optional 4th color */ if(!arg[3]) return; check_color(arg[3]); - special_colors[1] = arg[2] - '0'; + special_colors[1] = arg[3] - '0'; /* optional 5th color */ if(!arg[4]) return; - check_color(arg[3]); - bad_color = arg[3] - '0'; + check_color(arg[4]); + bad_color = arg[4] - '0'; } void number_err(int opt) { |