let the shadow be 0-256
This commit is contained in:
parent
6b05306a28
commit
94a2a4d67e
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue