diff options
Diffstat (limited to 'src/colour.c')
-rw-r--r-- | src/colour.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/colour.c b/src/colour.c index 8095d69..8a98232 100644 --- a/src/colour.c +++ b/src/colour.c @@ -5,6 +5,7 @@ #include<string.h> #include<cairo/cairo.h> +#include"wlclock.h" #include"misc.h" #include"colour.h" @@ -66,7 +67,7 @@ bool colour_from_string (struct Wlclock_colour *colour, const char *str) return true; error: - clocklog(NULL, 0, "ERROR: \"%s\" is not a valid colour.\n"); + clocklog(0, "ERROR: \"%s\" is not a valid colour.\n"); return false; } |