From 5a8964bc8bc4108febe8eca3b03cb901824ac90b Mon Sep 17 00:00:00 2001 From: Daniel Karbach Date: Fri, 13 Mar 2015 21:48:49 +0100 Subject: [PATCH] add missing breaks in input handler --- src/interface.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/interface.cpp b/src/interface.cpp index 00c291d..03c059f 100644 --- a/src/interface.cpp +++ b/src/interface.cpp @@ -72,10 +72,12 @@ void Interface::Handle(const SDL_KeyboardEvent &event) { if (event.state == SDL_PRESSED) { PrintBlockInfo(); } + break; case SDLK_p: if (event.state == SDL_PRESSED) { PrintSelectionInfo(); } + break; } } -- 2.39.2