From 205c75ef43cdce211651911586fdf095acccc470 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sat, 2 Jun 2007 20:36:33 +0000 Subject: [PATCH] add client.padding.height --- render/theme.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/render/theme.c b/render/theme.c index 79b41f99..1dd20b73 100644 --- a/render/theme.c +++ b/render/theme.c @@ -190,7 +190,9 @@ RrTheme* RrThemeNew(const RrInstance *inst, gchar *name, if (!read_int(db, "window.client.padding.width", &theme->cbwidthx) || theme->cbwidthx < 0 || theme->cbwidthx > 100) theme->cbwidthx = theme->paddingx; - theme->cbwidthy = theme->cbwidthx; + if (!read_int(db, "window.client.padding.height", &theme->cbwidthy) || + theme->cbwidthy < 0 || theme->cbwidthy > 100) + theme->cbwidthy = theme->cbwidthx; /* load colors */ if (!read_color(db, inst, -- 2.34.1