diff options
author | Johannes Schickel | 2010-11-18 21:32:42 +0000 |
---|---|---|
committer | Johannes Schickel | 2010-11-18 21:32:42 +0000 |
commit | 1fea2b733cca8c4c6f0b36e930c798091837a059 (patch) | |
tree | 8006cd863bc6567986860f350ac77774df650b0d | |
parent | d94844f20596a24d14a056ce272eb0cf98acef4a (diff) | |
download | scummvm-rg350-1fea2b733cca8c4c6f0b36e930c798091837a059.tar.gz scummvm-rg350-1fea2b733cca8c4c6f0b36e930c798091837a059.tar.bz2 scummvm-rg350-1fea2b733cca8c4c6f0b36e930c798091837a059.zip |
GUI: Make activeDialog in runLoop const, since it should not be changed.
svn-id: r54346
-rw-r--r-- | gui/gui-manager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/gui-manager.cpp b/gui/gui-manager.cpp index 83f9a52028..a8883b793b 100644 --- a/gui/gui-manager.cpp +++ b/gui/gui-manager.cpp @@ -227,7 +227,7 @@ Dialog *GuiManager::getTopDialog() const { } void GuiManager::runLoop() { - Dialog *activeDialog = getTopDialog(); + Dialog * const activeDialog = getTopDialog(); bool didSaveState = false; int button; uint32 time; |