Browse Source

RGB color notation is 3-byte hexadecimal

Signed-off-by: Vivien Didelot <vivien.didelot@gmail.com>
master
Vivien Didelot 13 years ago
committed by Michael Stapelberg
parent
commit
2c9e46dfee
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      i3lock.c

+ 1
- 1
i3lock.c View File

@ -541,7 +541,7 @@ int main(int argc, char *argv[]) {
arg++;
if (strlen(arg) != 6 || sscanf(arg, "%06[0-9a-fA-F]", color) != 1)
errx(1, "color is invalid, color must be given in 6-byte format: rrggbb\n");
errx(1, "color is invalid, it must be given in 3-byte hexadecimal format: rrggbb\n");
break;
}


Loading…
Cancel
Save