Ticket #3194: cleanup_rephrase.patch
File cleanup_rephrase.patch, 693 bytes (added by , 7 years ago) |
---|
-
source/gui/CGUI.cpp
InReaction CGUI::HandleEvent(const SDL_E 73 73 74 74 std::map<CStr, std::vector<IGUIObject*> >::iterator it = m_HotkeyObjects.find(hotkey); 75 75 if (it != m_HotkeyObjects.end()) 76 76 for (IGUIObject* const& obj : it->second) 77 77 { 78 // Update hotkey status before sending the event,78 // Update g_HotkeyStatus before sending the event, 79 79 // else the status will be outdated when processing the GUI event. 80 80 HotkeyInputHandler(ev); 81 81 ret = IN_HANDLED; 82 82 83 83 if (ev->ev.type == SDL_HOTKEYDOWN)