]> git.localhorst.tv Git - blank.git/commitdiff
add missing breaks in input handler
authorDaniel Karbach <daniel.karbach@localhorst.tv>
Fri, 13 Mar 2015 20:48:49 +0000 (21:48 +0100)
committerDaniel Karbach <daniel.karbach@localhorst.tv>
Fri, 13 Mar 2015 20:48:49 +0000 (21:48 +0100)
src/interface.cpp

index 00c291df605e7b799c820947ed09d5ca58ff439b..03c059f7301dfb644b2ef7ddbebce72a91ad3eb5 100644 (file)
@@ -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;
        }
 }