]> Dogcows Code - chaz/openbox/commitdiff
bugz, wrong vars
authorDana Jansens <danakj@orodu.net>
Sat, 30 Aug 2003 18:47:02 +0000 (18:47 +0000)
committerDana Jansens <danakj@orodu.net>
Sat, 30 Aug 2003 18:47:02 +0000 (18:47 +0000)
render/theme.c

index 6e097bd618aa699f5a35d95e2cf603125a272d7e..7461387f791964e647637fb063350f3aa5828eaf 100644 (file)
@@ -146,14 +146,16 @@ RrTheme* RrThemeNew(const RrInstance *inst, gchar *name)
     /* load direct dimensions */
     if (!read_int(db, "menuOverlap", &theme->menu_overlap) ||
        theme->menu_overlap < 0 || theme->menu_overlap > 20)
-        theme->handle_height = 0;
+        theme->menu_overlap = 0;
     if (!read_int(db, "handleWidth", &theme->handle_height) ||
        theme->handle_height < 0 || theme->handle_height > 100)
-        theme->handle_height = 6;
+        theme->handle_height = 3;
     if (!read_int(db, "bevelWidth", &theme->bevel) ||
-       theme->bevel <= 0 || theme->bevel > 100) theme->bevel = 3;
+       theme->bevel <= 0 || theme->bevel > 100)
+        theme->bevel = 3;
     if (!read_int(db, "borderWidth", &theme->bwidth) ||
-       theme->bwidth < 0 || theme->bwidth > 100) theme->bwidth = 1;
+       theme->bwidth < 0 || theme->bwidth > 100)
+        theme->bwidth = 1;
     if (!read_int(db, "frameWidth", &theme->cbwidth) ||
        theme->cbwidth < 0 || theme->cbwidth > 100)
         theme->cbwidth = theme->bevel;
This page took 0.027152 seconds and 4 git commands to generate.