projects
/
chise
/
xemacs-chise.git.1
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
XEmacs 21.2.25 "Hephaestus".
[chise/xemacs-chise.git.1]
/
lwlib
/
xlwscrollbar.c
diff --git
a/lwlib/xlwscrollbar.c
b/lwlib/xlwscrollbar.c
index
81f8cdb
..
88f7cc1
100644
(file)
--- a/
lwlib/xlwscrollbar.c
+++ b/
lwlib/xlwscrollbar.c
@@
-979,7
+979,7
@@
seg_pixel_sizes (XlwScrollBarWidget w, int *above_return,
if (ss < SS_MIN)
{
/* add a percent amount for integer rounding */
- float tmp = ((((float) (SS_MIN - ss) * (float) value)) / total) + 0.5;
+ float tmp = (((float) (SS_MIN - ss) * (float) value) / total) + 0.5;
above -= (int) tmp;
ss = SS_MIN;