diff options
Diffstat (limited to 'render')
| -rw-r--r-- | render/color.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/render/color.c b/render/color.c index 83c2aa37..1f3892e5 100644 --- a/render/color.c +++ b/render/color.c @@ -14,10 +14,11 @@ void color_allocate_gc(color_rgb *in) color_rgb *color_parse(char *colorname) { + XColor xcol; + g_assert(colorname != NULL); // get rgb values from colorname - XColor xcol; xcol.red = 0; xcol.green = 0; xcol.blue = 0; |
