[Scummvm-git-logs] scummvm master -> 63cef724f892d718973682183da20f659d39e988

criezy noreply at scummvm.org
Sun Jun 19 01:18:14 UTC 2022


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
63cef724f8 COMMON: Fix mapped events being dispatched twice


Commit: 63cef724f892d718973682183da20f659d39e988
    https://github.com/scummvm/scummvm/commit/63cef724f892d718973682183da20f659d39e988
Author: Thierry Crozat (criezy at scummvm.org)
Date: 2022-06-19T02:12:34+01:00

Commit Message:
COMMON: Fix mapped events being dispatched twice

Changed paths:
    common/events.cpp


diff --git a/common/events.cpp b/common/events.cpp
index fea50e195b9..53c1aae94bc 100644
--- a/common/events.cpp
+++ b/common/events.cpp
@@ -103,7 +103,7 @@ void EventDispatcher::dispatch() {
 					matchedAction = true;
 				}
 
-				if (!matchedAction);
+				if (!matchedAction)
 					dispatchEvent(event);
 			} else {
 				dispatchEvent(event);




More information about the Scummvm-git-logs mailing list