diff options
Diffstat (limited to 'libXaw/src')
-rw-r--r-- | libXaw/src/Label.c | 2 | ||||
-rw-r--r-- | libXaw/src/TextAction.c | 1 | ||||
-rw-r--r-- | libXaw/src/makefile | 53 |
3 files changed, 55 insertions, 1 deletions
diff --git a/libXaw/src/Label.c b/libXaw/src/Label.c index 0a4c6ea2a..a2af5bd07 100644 --- a/libXaw/src/Label.c +++ b/libXaw/src/Label.c @@ -674,7 +674,7 @@ _Reposition(LabelWidget lw, unsigned int width, unsigned int height, *dx = newPos - lw->label.label_x; lw->label.label_x = newPos; - newPos = (height - lw->label.label_height) >> 1; + newPos = ((int)(height - lw->label.label_height)) >> 1; *dy = newPos - lw->label.label_y; lw->label.label_y = newPos; } diff --git a/libXaw/src/TextAction.c b/libXaw/src/TextAction.c index 062956c99..4db9cdf16 100644 --- a/libXaw/src/TextAction.c +++ b/libXaw/src/TextAction.c @@ -39,6 +39,7 @@ in this Software without prior written authorization from The Open Group. #include <X11/Xatom.h> #include <X11/Xfuncs.h> #include <X11/Xutil.h> +#include <X11/Xwinsock.h> #include <X11/Xmu/Atoms.h> #include <X11/Xmu/Misc.h> #include <X11/Xmu/StdSel.h> diff --git a/libXaw/src/makefile b/libXaw/src/makefile new file mode 100644 index 000000000..b0dde1df9 --- /dev/null +++ b/libXaw/src/makefile @@ -0,0 +1,53 @@ +LIBRARY = libXaw +INCLUDES := .. ../include ../include/X11 $(INCLUDES) + +DEFINES += XT_NO_SM + +CSRCS = \ + Actions.c \ + AllWidgets.c \ + AsciiSink.c \ + AsciiSrc.c \ + AsciiText.c \ + Box.c \ + Command.c \ + Converters.c \ + Dialog.c \ + DisplayList.c \ + Form.c \ + Grip.c \ + Label.c \ + List.c \ + MenuButton.c \ + MultiSrc.c \ + MultiSink.c \ + OS.c \ + Paned.c \ + Panner.c \ + Pixmap.c \ + Porthole.c \ + Repeater.c \ + Scrollbar.c \ + Simple.c \ + SimpleMenu.c \ + Sme.c \ + SmeBSB.c \ + SmeLine.c \ + StripChart.c \ + Text.c \ + TextSink.c \ + TextSrc.c \ + TextAction.c \ + TextPop.c \ + TextTr.c \ + Toggle.c \ + Tree.c \ + Vendor.c \ + Viewport.c \ + XawIm.c \ + XawInit.c \ + XawI18n.c \ + Tip.c + + +DEFINES += XAW7 |