From 94a2a4d67eb9b392b4f67f374358bf69b8b3e591 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sun, 10 Jun 2007 21:56:50 +0000 Subject: [PATCH] let the shadow be 0-256 --- render/theme.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/render/theme.c b/render/theme.c index 3f90a145..70944944 100644 --- a/render/theme.c +++ b/render/theme.c @@ -1795,7 +1795,7 @@ static gboolean read_appearance(XrmDatabase db, const RrInstance *inst, value->surface.interlace_color = RrColorNew(inst, 0, 0, 0); if (read_int(db, hname, &i) && i >= 0) value->surface.bevel_light_adjust = i; - if (read_int(db, sname, &i) && i >= 0 && i <= 255) + if (read_int(db, sname, &i) && i >= 0 && i <= 256) value->surface.bevel_dark_adjust = i; ret = TRUE; } -- 2.39.2