X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;ds=sidebyside;f=Source%2FGame.cpp;fp=Source%2FGame.cpp;h=5b816b54bd7349350c4637dd9c571629f64a7476;hb=ad46a578f2879eef5c1ee922ab22922e1f7988f2;hp=ca2cb5df914734cc6a6a5ca415ee722ed625128c;hpb=6df65bf46ace2c0b8753115b8c39600f307e3452;p=lugaru.git diff --git a/Source/Game.cpp b/Source/Game.cpp index ca2cb5d..5b816b5 100644 --- a/Source/Game.cpp +++ b/Source/Game.cpp @@ -166,6 +166,10 @@ void Game::inputText(string& str, unsigned* charselected) } while (SDL_PollEvent(&evenement)) { + if (!sdlEventProc(evenement)) { + tryquit = 1; + break; + } switch (evenement.type) { case SDL_TEXTEDITING: /* FIXME - We should handle this for complete input method support */