aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/yawa.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/yawa.c b/src/yawa.c
index ff68732..a9b9ef2 100644
--- a/src/yawa.c
+++ b/src/yawa.c
@@ -359,7 +359,7 @@ main(signed argc, char **argv)
Color c;
if (parse_color(arguments.solid_color, &c, alpha) == 0) {
fprintf(stderr, "Bad color (%s)\n", arguments.solid_color);
- exit(-2);
+ exit(2);
}
imlib_context_set_color(c.r, c.g, c.b, c.a);
imlib_image_fill_rectangle(0, 0, width, height);
@@ -373,7 +373,7 @@ main(signed argc, char **argv)
Color c;
if (parse_color(arguments.add_color[i], &c, alpha) == 0) {
fprintf(stderr, "Bad color (%s)\n", arguments.add_color[i]);
- exit(-2);
+ exit(2);
}
imlib_context_set_color(c.r, c.g, c.b, c.a);
imlib_add_color_to_color_range(arguments.distance[i]);
@@ -414,7 +414,7 @@ main(signed argc, char **argv)
if (parse_color(arguments.tint_color, &c, 255) == 0) {
fprintf(stderr, "Bad color\n");
- exit(-2);
+ exit(2);
}
imlib_get_color_modifier_tables(r, g, b, a);