diff options
author | Max Horn | 2002-12-25 00:46:34 +0000 |
---|---|---|
committer | Max Horn | 2002-12-25 00:46:34 +0000 |
commit | 70769ee04b3667287d8c5b754b3198c652c286a5 (patch) | |
tree | b6369db06f263a192a78e795e7c2886d5c08e786 /gui/newgui.cpp | |
parent | 563f99b1fee90caabb5b52ab5cc1ef47c614cb94 (diff) | |
download | scummvm-rg350-70769ee04b3667287d8c5b754b3198c652c286a5.tar.gz scummvm-rg350-70769ee04b3667287d8c5b754b3198c652c286a5.tar.bz2 scummvm-rg350-70769ee04b3667287d8c5b754b3198c652c286a5.zip |
fixed invalid memory access
svn-id: r6110
Diffstat (limited to 'gui/newgui.cpp')
-rw-r--r-- | gui/newgui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/newgui.cpp b/gui/newgui.cpp index ec7fb3802d..f280b308c7 100644 --- a/gui/newgui.cpp +++ b/gui/newgui.cpp @@ -116,7 +116,7 @@ void NewGui::runLoop() didSaveState = true; } - while (activeDialog == _dialogStack.top()) { + while (!_dialogStack.empty() && activeDialog == _dialogStack.top()) { activeDialog->handleTickle(); |