mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-11 03:34:13 +00:00
fixed invalid memory access
svn-id: r6110
This commit is contained in:
parent
563f99b1fe
commit
70769ee04b
@ -116,7 +116,7 @@ void NewGui::runLoop()
|
||||
didSaveState = true;
|
||||
}
|
||||
|
||||
while (activeDialog == _dialogStack.top()) {
|
||||
while (!_dialogStack.empty() && activeDialog == _dialogStack.top()) {
|
||||
|
||||
activeDialog->handleTickle();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user