diff options
author | Eugene Sandulenko | 2019-10-15 19:06:56 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2019-10-15 19:07:18 +0200 |
commit | b8e7f45760d935af90588754cce6ab378adffb0c (patch) | |
tree | 64aa31e66da5e8ccec94d09a8a7552e4b47cdb76 | |
parent | 94c98ca966a9b39ba1b14b26b237f24df05da42b (diff) | |
download | scummvm-rg350-b8e7f45760d935af90588754cce6ab378adffb0c.tar.gz scummvm-rg350-b8e7f45760d935af90588754cce6ab378adffb0c.tar.bz2 scummvm-rg350-b8e7f45760d935af90588754cce6ab378adffb0c.zip |
GRAPHICS: MACGUI: Fix window deletion
-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; } } |