[Scummvm-cvs-logs] scummvm master -> b911976a66837f9fd540f26dc3db54977934e76e
lordhoto
lordhoto at gmail.com
Tue Feb 9 16:44:23 CET 2016
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:
b911976a66 SCI: Take advantage of operator-> of Common::List::iterator.
Commit: b911976a66837f9fd540f26dc3db54977934e76e
https://github.com/scummvm/scummvm/commit/b911976a66837f9fd540f26dc3db54977934e76e
Author: Johannes Schickel (lordhoto at scummvm.org)
Date: 2016-02-09T16:42:45+01:00
Commit Message:
SCI: Take advantage of operator-> of Common::List::iterator.
Changed paths:
engines/sci/event.cpp
diff --git a/engines/sci/event.cpp b/engines/sci/event.cpp
index f8285c2..7fa3f3c 100644
--- a/engines/sci/event.cpp
+++ b/engines/sci/event.cpp
@@ -342,7 +342,7 @@ SciEvent EventManager::getSciEvent(unsigned int mask) {
// Search for matching event in queue
Common::List<SciEvent>::iterator iter = _events.begin();
- while (iter != _events.end() && !((*iter).type & mask))
+ while (iter != _events.end() && !(iter->type & mask))
++iter;
if (iter != _events.end()) {
More information about the Scummvm-git-logs
mailing list