summaryrefslogtreecommitdiff
path: root/lwlib
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2015-04-14 00:58:07 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2015-04-14 00:58:37 -0700
commitb5919771aea2d43c64be381b7d7b395eeb1191bd (patch)
treed97a50dbaa920c17d439baf0f01d8c10db2384bb /lwlib
parent96a858a442c1ed5774d11115613f50778117447b (diff)
Assume C89 offsetof in xterm.c, xlwmenu.c
* lwlib/xlwmenu.c (offset): * src/xterm.c (cvt_string_to_pixel_args): Use offsetof, not XtOffset.
Diffstat (limited to 'lwlib')
-rw-r--r--lwlib/xlwmenu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lwlib/xlwmenu.c b/lwlib/xlwmenu.c
index 9317dea02b..61f175b3c2 100644
--- a/lwlib/xlwmenu.c
+++ b/lwlib/xlwmenu.c
@@ -105,7 +105,7 @@ xlwMenuTranslations [] =
/* FIXME: F10 should enter the menu, the first one in the menu-bar. */
-#define offset(field) XtOffset(XlwMenuWidget, field)
+#define offset(field) offsetof (XlwMenuRec, field)
static XtResource
xlwMenuResources[] =
{