summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ScrollByL.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ScrollByL.c b/ScrollByL.c
index 18eba96..d52c4ad 100644
--- a/ScrollByL.c
+++ b/ScrollByL.c
@@ -59,8 +59,8 @@ static char defaultTranslations[] =
*
****************************************************************/
-#define Offset(field) XtOffset(ScrollByLineWidget, scroll.field)
-#define CoreOffset(field) XtOffset(ScrollByLineWidget, core.field)
+#define Offset(field) XtOffsetOf(ScrollByLineRec, scroll.field)
+#define CoreOffset(field) XtOffsetOf(ScrollByLineRec, core.field)
static XtResource resources[] = {
{XtNwidth, XtCWidth, XtRDimension, sizeof(Dimension),