From 5c03456a38148d1b52c67c2f9c0eac630ae88589 Mon Sep 17 00:00:00 2001 From: Ykkrosh Date: Wed, 2 Jun 2010 23:08:45 +0000 Subject: [PATCH] Windows build fix This was SVN commit r7604. --- source/tools/atlas/GameInterface/Handlers/MiscHandlers.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/source/tools/atlas/GameInterface/Handlers/MiscHandlers.cpp b/source/tools/atlas/GameInterface/Handlers/MiscHandlers.cpp index 12ca679d13..a9509e25dc 100644 --- a/source/tools/atlas/GameInterface/Handlers/MiscHandlers.cpp +++ b/source/tools/atlas/GameInterface/Handlers/MiscHandlers.cpp @@ -181,7 +181,6 @@ MESSAGEHANDLER(GuiKeyEvent) { SDL_Event_ ev = { { 0 } }; ev.ev.type = msg->pressed ? SDL_KEYDOWN : SDL_KEYUP; - ev.ev.key.state = msg->pressed ? SDL_PRESSED : SDL_RELEASED; ev.ev.key.keysym.sym = (SDLKey)(int)msg->sdlkey; ev.ev.key.keysym.unicode = msg->unichar; in_dispatch_event(&ev); @@ -195,13 +194,11 @@ MESSAGEHANDLER(GuiCharEvent) SDL_Event_ ev = { { 0 } }; ev.ev.type = SDL_KEYDOWN; - ev.ev.key.state = SDL_PRESSED; ev.ev.key.keysym.sym = (SDLKey)(int)msg->sdlkey; ev.ev.key.keysym.unicode = msg->unichar; in_dispatch_event(&ev); ev.ev.type = SDL_KEYUP; - ev.ev.key.state = SDL_RELEASED; in_dispatch_event(&ev); }