summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2024-02-17 11:34:06 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2024-02-17 11:34:06 -0800
commit48251496c2633c816fa15749fbd314b84fa91e60 (patch)
tree93919ab818f562458b964b48198a1418be9a302c
parent79134895d2c9c3a5ed26f560641adf45da677f67 (diff)
unifdef macII
Stop working around a bug in the macII A/UX 1.0 cc Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--src/Viewport.c8
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;