diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-08-30 18:47:02 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-08-30 18:47:02 +0000 |
| commit | 50f2037aea7f0edea11ad2d5749ca22e4fc7d734 (patch) | |
| tree | 53ae9930deff814e69e44f3fd7ae8a6be1624064 | |
| parent | 6486ba2cd5a8011cbe624a9d3e96f461ae5a7cc6 (diff) | |
bugz, wrong vars
| -rw-r--r-- | render/theme.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/render/theme.c b/render/theme.c index 6e097bd6..7461387f 100644 --- a/render/theme.c +++ b/render/theme.c @@ -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; |
