From: Dana Jansens Date: Sun, 10 Jun 2007 21:56:50 +0000 (+0000) Subject: let the shadow be 0-256 X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=94a2a4d67eb9b392b4f67f374358bf69b8b3e591;p=chaz%2Fopenbox let the shadow be 0-256 --- 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; }