]> git.pld-linux.org Git - packages/XFree86.git/blobdiff - XFree86-Xaw-unaligned.patch
This commit was manufactured by cvs2git to create branch 'AC-branch'.
[packages/XFree86.git] / XFree86-Xaw-unaligned.patch
diff --git a/XFree86-Xaw-unaligned.patch b/XFree86-Xaw-unaligned.patch
deleted file mode 100644 (file)
index 09eee36..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
---- XFree86-4.0/xc/lib/Xaw/Scrollbar.c.foo     Mon May 15 17:04:02 2000
-+++ XFree86-4.0/xc/lib/Xaw/Scrollbar.c Mon May 15 17:07:30 2000
-@@ -831,6 +831,10 @@
- NotifyThumb(Widget gw, XEvent *event, String *params, Cardinal *num_params)
- {
-     ScrollbarWidget w = (ScrollbarWidget)gw;
-+    union {
-+          XtPointer xt_pt;
-+          float xt_top;
-+    } foo;
-     if (w->scrollbar.direction == 0)  /* if no StartScroll */
-       return;
-@@ -841,7 +845,10 @@
-     /* thumbProc is not pretty, but is necessary for backwards
-        compatibility on those architectures for which it work{s,ed};
-        the intent is to pass a (truncated) float by value. */
--    XtCallCallbacks(gw, XtNthumbProc, *(XtPointer*)&w->scrollbar.top);
-+    
-+    foo.xt_top = w->scrollbar.top;
-+      
-+    XtCallCallbacks(gw, XtNthumbProc, foo.xt_pt);
-     XtCallCallbacks(gw, XtNjumpProc, (XtPointer)&w->scrollbar.top);
-     PaintThumb(w);
This page took 0.022518 seconds and 4 git commands to generate.