From: Daniel Karbach Date: Fri, 13 Mar 2015 20:48:49 +0000 (+0100) Subject: add missing breaks in input handler X-Git-Url: https://git.localhorst.tv/?a=commitdiff_plain;h=5a8964bc8bc4108febe8eca3b03cb901824ac90b;p=blank.git add missing breaks in input handler --- 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; } }