summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Drake <michael.drake@codethink.co.uk>2019-12-01 20:02:49 +0000
committerMichael Drake <michael.drake@codethink.co.uk>2019-12-01 20:02:49 +0000
commit2e03245e39d2a410e251ba373f21e0bd9ce63586 (patch)
treec6d2a5f185bfd0e0be9890a359546ce06f5dda74
parenta39a24f6f85bc26ff3fe5a071440573cee4230f5 (diff)
downloadlibdom-master.tar.gz
libdom-master.tar.bz2
keyboard events: Fix get location casting wrapper.HEADmaster
-rw-r--r--include/dom/events/keyboard_event.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/dom/events/keyboard_event.h b/include/dom/events/keyboard_event.h
index 03cab4b..e3b7d50 100644
--- a/include/dom/events/keyboard_event.h
+++ b/include/dom/events/keyboard_event.h
@@ -41,8 +41,8 @@ dom_exception _dom_keyboard_event_get_code(dom_keyboard_event *evt,
dom_exception _dom_keyboard_event_get_location(dom_keyboard_event *evt,
dom_key_location *location);
-#define dom_keyboard_event_get_key_location(e, l) \
- _dom_keyboard_event_get_key_location( \
+#define dom_keyboard_event_get_location(e, l) \
+ _dom_keyboard_event_get_location( \
(dom_keyboard_event *) (e), (dom_key_location *) (l))
dom_exception _dom_keyboard_event_get_ctrl_key(dom_keyboard_event *evt,