]> Dogcows Code - chaz/openbox/commitdiff
let the shadow be 0-256
authorDana Jansens <danakj@orodu.net>
Sun, 10 Jun 2007 21:56:50 +0000 (21:56 +0000)
committerDana Jansens <danakj@orodu.net>
Sun, 10 Jun 2007 21:56:50 +0000 (21:56 +0000)
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.023463 seconds and 4 git commands to generate.