]> Dogcows Code - chaz/openbox/blobdiff - render/theme.c
let the shadow be 0-256
[chaz/openbox] / render / theme.c
index 3f90a145eeb14016b151bf477331534676e2b224..709449443697aa5052652d42a52592ee70ed47d7 100644 (file)
@@ -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;
     }
This page took 0.021189 seconds and 4 git commands to generate.