decalre variables before code!

This commit is contained in:
Dana Jansens 2003-03-17 02:10:24 +00:00
parent 7f561a6a7a
commit 2870457bf5

View file

@ -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;