summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVivien Didelot <vivien.didelot@gmail.com>2012-12-06 00:38:45 -0500
committerMichael Stapelberg <michael@stapelberg.de>2012-12-06 09:40:23 +0100
commit2c9e46dfee01c02a9c2b884945d51c1bda717144 (patch)
treef565f16036210940e9801bbba6af3b01be4254c9
parentd6b9e33e2868cc9c82d8fbb6d4f9545725f78971 (diff)
RGB color notation is 3-byte hexadecimal
Signed-off-by: Vivien Didelot <vivien.didelot@gmail.com>
-rw-r--r--i3lock.c2
1 files changed, 1 insertions, 1 deletions
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;
}