diff options
Diffstat (limited to 'src/DisplayList.c')
-rw-r--r-- | src/DisplayList.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/DisplayList.c b/src/DisplayList.c index 559095d..7bb9d89 100644 --- a/src/DisplayList.c +++ b/src/DisplayList.c @@ -27,7 +27,7 @@ * Author: Paulo César Pereira de Andrade */ -/* $XFree86: xc/lib/Xaw/DisplayList.c,v 3.16 2000/09/26 15:56:54 tsi Exp $ */ +/* $XFree86: xc/lib/Xaw/DisplayList.c,v 3.19 2003/05/23 15:51:23 tsi Exp $ */ #include <ctype.h> #include <string.h> @@ -41,6 +41,10 @@ #include <X11/Xmu/SysUtil.h> #include "Private.h" +#ifdef __UNIXOS2__ +static char dummy; +#endif + #ifndef OLDXAW /* @@ -608,7 +612,7 @@ Dl1Point(Widget w, XtPointer args, XtPointer data, int id) xpad = XtX(w) + XtBorderWidth(w); ypad = XtY(w) + XtBorderWidth(w); x += xpad; - x += xpad; + y += ypad; display = XtDisplayOfObject(w); window = XtWindowOfObject(w); } @@ -1188,7 +1192,7 @@ DlString(Widget w, XtPointer args, XtPointer data, Bool image) xpad = XtX(w) + XtBorderWidth(w); ypad = XtY(w) + XtBorderWidth(w); x += xpad; - x += xpad; + y += ypad; display = XtDisplayOfObject(w); window = XtWindowOfObject(w); } |