From 9d75c83f8fa3fec072019d0a13b58b00501959b5 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Tue, 25 Jan 2005 21:57:23 +0000 Subject: updated for version 7.0044 --- src/gui_xmebw.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui_xmebw.c') diff --git a/src/gui_xmebw.c b/src/gui_xmebw.c index fbe0ba99b..d63cf5a42 100644 --- a/src/gui_xmebw.c +++ b/src/gui_xmebw.c @@ -346,8 +346,8 @@ set_pixmap(XmEnhancedButtonWidget eb) XGetGeometry(dpy, pix, &root, &x, &y, &width, &height, &border, &depth); - if (eb->enhancedbutton.label_location == XmTOP - || eb->enhancedbutton.label_location == XmBOTTOM) + if (eb->enhancedbutton.label_location == (int)XmTOP + || eb->enhancedbutton.label_location == (int)XmBOTTOM) shift = eb->primitive.shadow_thickness / 2; else shift = eb->primitive.shadow_thickness / 2; -- cgit v1.2.1