projects
/
chise
/
xemacs-chise.git-
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Reformatted.
[chise/xemacs-chise.git-]
/
lwlib
/
lwlib-Xlw.c
diff --git
a/lwlib/lwlib-Xlw.c
b/lwlib/lwlib-Xlw.c
index
1e909b6
..
712a62b
100644
(file)
--- a/
lwlib/lwlib-Xlw.c
+++ b/
lwlib/lwlib-Xlw.c
@@
-163,13
+163,13
@@
xlw_scrollbar_callback (Widget widget, XtPointer closure, XtPointer call_data)
XlwScrollBarCallbackStruct *data =
(XlwScrollBarCallbackStruct *) call_data;
scroll_event event_data;
XlwScrollBarCallbackStruct *data =
(XlwScrollBarCallbackStruct *) call_data;
scroll_event event_data;
- scrollbar_values *val =
- (scrollbar_values *) instance->info->val->scrollbar_data;
+ scrollbar_values *val;
double percent;
if (!instance || widget->core.being_destroyed)
return;
double percent;
if (!instance || widget->core.being_destroyed)
return;
+ val = (scrollbar_values *) instance->info->val->scrollbar_data;
id = instance->info->id;
percent = (double) (data->value - 1) / (double) (INT_MAX - 1);
id = instance->info->id;
percent = (double) (data->value - 1) / (double) (INT_MAX - 1);