summaryrefslogtreecommitdiff
path: root/action.c
diff options
context:
space:
mode:
authorMiroslav Koškár <mk@mkoskar.com>2019-01-18 20:01:01 +0100
committerAlan Coopersmith <alan.coopersmith@oracle.com>2019-06-08 17:46:25 -0700
commit9edd61b91a02bda31fc6edd2c32c553e872b6ea2 (patch)
tree3fcb5ddea0fe77549cdf9a7502ed7606d3699cea /action.c
parent7ffec6583ae92fe81402870eb89dea21ca34e933 (diff)
Fix invalid error report on F_Accel field
F_Accel is valid MovePtr field yet following error is reported: > Error: Field accel is not defined for an action of type MovePtr > Action definition ignored Signed-off-by: Miroslav Koškár <mk@mkoskar.com>
Diffstat (limited to 'action.c')
-rw-r--r--action.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/action.c b/action.c
index 4623c0c..6efe65b 100644
--- a/action.c
+++ b/action.c
@@ -627,6 +627,7 @@ HandleMovePtr(XkbDescPtr xkb,
act->flags &= ~XkbSA_NoAcceleration;
else
act->flags |= XkbSA_NoAcceleration;
+ return True;
}
return ReportIllegal(action->type, field);
}