diff options
-rw-r--r-- | src/Viewport.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/Viewport.c b/src/Viewport.c index 03f55bb..5b352c9 100644 --- a/src/Viewport.c +++ b/src/Viewport.c @@ -888,20 +888,12 @@ ThumbProc(Widget widget, XtPointer closure, XtPointer call_data) if (child == NULL) return; /* no child to scroll. */ if (widget == w->viewport.horiz_bar) -#ifdef macII /* bug in the macII A/UX 1.0 cc */ - x = (int)(-*percent * child->core.width); -#else /* else not macII */ x = -(int)(*percent * child->core.width); -#endif /* macII */ else x = child->core.x; if (widget == w->viewport.vert_bar) -#ifdef macII /* bug in the macII A/UX 1.0 cc */ - y = (int)(-*percent * child->core.height); -#else /* else not macII */ y = -(int)(*percent * child->core.height); -#endif /* macII */ else y = child->core.y; |