diff options
author | Jim Carroll <thecarrolls@jiminger.com> | 2012-11-11 19:52:43 -0500 |
---|---|---|
committer | Jim Carroll <thecarrolls@jiminger.com> | 2012-11-11 19:54:10 -0500 |
commit | 9e93f52d3f8624c6fe7660ef04ce81facac22822 (patch) | |
tree | 497591dba6654acc5e130249d44cf15d426758ec | |
parent | e198a2675d9695935dc5179bce25634e67f075e1 (diff) |
[fix] Fixed a potential to miss an event.
-rw-r--r-- | xbmc/interfaces/legacy/Window.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xbmc/interfaces/legacy/Window.cpp b/xbmc/interfaces/legacy/Window.cpp index bb4488920f..e4f47689c1 100644 --- a/xbmc/interfaces/legacy/Window.cpp +++ b/xbmc/interfaces/legacy/Window.cpp @@ -376,7 +376,8 @@ namespace XBMCAddon TRACE; // DO NOT MAKE THIS A DELAYED CALL!!!! bool ret = languageHook == NULL ? m_actionEvent.WaitMSec(milliseconds) : languageHook->waitForEvent(m_actionEvent,milliseconds); - m_actionEvent.Reset(); + if (ret) + m_actionEvent.Reset(); return ret; } |