From 9a2f79e42dc62baa5df35f1d420e976363ef4805 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/Akela/SpaceCadet.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Akela/SpaceCadet.cpp b/src/Akela/SpaceCadet.cpp index 6326c5f3..20e2cc7c 100644 --- a/src/Akela/SpaceCadet.cpp +++ b/src/Akela/SpaceCadet.cpp @@ -32,7 +32,7 @@ namespace Akela { void SpaceCadetShift::begin () { - event_handler_hook_add (this->eventHandlerHook); + event_handler_hook_use (this->eventHandlerHook); } void