diff options
Diffstat (limited to 'swaylock')
-rw-r--r-- | swaylock/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/swaylock/main.c b/swaylock/main.c index 2c69f7fd..cc543056 100644 --- a/swaylock/main.c +++ b/swaylock/main.c | |||
@@ -360,7 +360,7 @@ int main(int argc, char **argv) { | |||
360 | { | 360 | { |
361 | int colorlen = strlen(optarg); | 361 | int colorlen = strlen(optarg); |
362 | if (colorlen < 6 || colorlen == 7 || colorlen > 8) { | 362 | if (colorlen < 6 || colorlen == 7 || colorlen > 8) { |
363 | sway_log(L_ERROR, "color must be specified in 3 or 4 byte format, e.g. ff0000 or ff0000ff"); | 363 | sway_log(L_ERROR, "color must be specified in 3 or 4 byte format, e.g. rrggbb or rrggbbaa"); |
364 | exit(EXIT_FAILURE); | 364 | exit(EXIT_FAILURE); |
365 | } | 365 | } |
366 | render_data.color = strtol(optarg, NULL, 16); | 366 | render_data.color = strtol(optarg, NULL, 16); |