diff options
Diffstat (limited to 'graphics/macgui')
-rw-r--r-- | graphics/macgui/macwindowmanager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/macgui/macwindowmanager.cpp b/graphics/macgui/macwindowmanager.cpp index cd72d5cf1f..62d3710157 100644 --- a/graphics/macgui/macwindowmanager.cpp +++ b/graphics/macgui/macwindowmanager.cpp @@ -436,7 +436,7 @@ void MacWindowManager::removeMarked() { _lastId = 0; for (Common::HashMap<uint, BaseMacWindow *>::iterator lit = _windows.begin(); lit != _windows.end(); lit++) { if (lit->_key > (uint)_lastId) - _lastId = lit->_key; + _lastId = lit->_key + 1; } } |