fixed invalid memory access

svn-id: r6110
This commit is contained in:
Max Horn 2002-12-25 00:46:34 +00:00
parent 563f99b1fe
commit 70769ee04b

View File

@ -116,7 +116,7 @@ void NewGui::runLoop()
didSaveState = true;
}
while (activeDialog == _dialogStack.top()) {
while (!_dialogStack.empty() && activeDialog == _dialogStack.top()) {
activeDialog->handleTickle();