]> Dogcows Code - chaz/openbox/commitdiff
decalre variables before code!
authorDana Jansens <danakj@orodu.net>
Mon, 17 Mar 2003 02:10:24 +0000 (02:10 +0000)
committerDana Jansens <danakj@orodu.net>
Mon, 17 Mar 2003 02:10:24 +0000 (02:10 +0000)
render/color.c

index 83c2aa373f51e1e8ef58339f4c316c90975f67fe..1f3892e5a120deba431a963c866eae2f7ca05336 100644 (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;
This page took 0.024234 seconds and 4 git commands to generate.