From 93bd91429676f89cc4bceff2618c3f101838f703 Mon Sep 17 00:00:00 2001 From: Gergely Nagy Date: Fri, 27 Jan 2017 23:01:25 +0100 Subject: [PATCH] Use the new, double-add protected hook functions Signed-off-by: Gergely Nagy --- src/Keyboardio-Macros.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Keyboardio-Macros.cpp b/src/Keyboardio-Macros.cpp index f5d0a1b9..bd4b4e4e 100644 --- a/src/Keyboardio-Macros.cpp +++ b/src/Keyboardio-Macros.cpp @@ -62,7 +62,7 @@ Macros_::Macros_ (void) { void Macros_::begin (void) { - event_handler_hook_add (handleMacroEvent); + event_handler_hook_use (handleMacroEvent); } Macros_ Macros;