decalre variables before code!
Dana Jansens danakj@orodu.net
1 files changed,
2 insertions(+),
1 deletions(-)
jump to
M
render/color.c
→
render/color.c
@@ -14,10 +14,11 @@ }
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;