diff options
author | Leon Henrik Plickat <leonhenrik.plickat@stud.uni-goettingen.de> | 2021-11-14 04:14:25 +0100 |
---|---|---|
committer | Leon Henrik Plickat <leonhenrik.plickat@stud.uni-goettingen.de> | 2021-11-14 04:14:44 +0100 |
commit | d933ed4dd56f38285f4aef61b487307a497574c5 (patch) | |
tree | 9f058036fe6ef0aa4fc99d5f2eb84d0523ec1431 /src/colour.c | |
parent | fa3d1b5dfe4f93953c300595e8fd81abd76670ee (diff) | |
download | wlclock-d933ed4dd56f38285f4aef61b487307a497574c5.tar.gz wlclock-d933ed4dd56f38285f4aef61b487307a497574c5.tar.bz2 |
Use global context
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; } |