From 84b2b6ad62e85f304578a9094435059ef96922d9 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/Escape-OneShot.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Akela/Escape-OneShot.cpp b/src/Akela/Escape-OneShot.cpp index 852c5ed0..0d44a541 100644 --- a/src/Akela/Escape-OneShot.cpp +++ b/src/Akela/Escape-OneShot.cpp @@ -26,7 +26,7 @@ namespace Akela { void EscapeOneShot::begin (void) { - event_handler_hook_add (eventHandlerHook); + event_handler_hook_use (eventHandlerHook); } Key