From: Vivien Didelot Date: Thu, 6 Dec 2012 05:38:45 +0000 (-0500) Subject: RGB color notation is 3-byte hexadecimal X-Git-Tag: 2.5~10 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=2c9e46dfee01c02a9c2b884945d51c1bda717144;p=i3%2Fi3lock RGB color notation is 3-byte hexadecimal Signed-off-by: Vivien Didelot --- diff --git a/i3lock.c b/i3lock.c index 22dc3da..69f191e 100644 --- a/i3lock.c +++ b/i3lock.c @@ -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; }