diff options
Diffstat (limited to 'src/gui/npcpostdialog.cpp')
-rw-r--r-- | src/gui/npcpostdialog.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/gui/npcpostdialog.cpp b/src/gui/npcpostdialog.cpp index b5e85938e..5135e56bd 100644 --- a/src/gui/npcpostdialog.cpp +++ b/src/gui/npcpostdialog.cpp @@ -125,9 +125,6 @@ void NpcPostDialog::setVisible(bool visible) void NpcPostDialog::closeAll() { - for (DialogList::const_iterator it = instances.begin(), - it_end = instances.end(); it != it_end; ++it) - { + FOR_EACH (DialogList::const_iterator, it, instances) (*it)->close(); - } } |