diff options
Diffstat (limited to 'src/gui/textcommandeditor.cpp')
-rw-r--r-- | src/gui/textcommandeditor.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/gui/textcommandeditor.cpp b/src/gui/textcommandeditor.cpp index 156c6c60d..d6540dca2 100644 --- a/src/gui/textcommandeditor.cpp +++ b/src/gui/textcommandeditor.cpp @@ -76,11 +76,8 @@ public: } tempStrings.sort(); mStrings.push_back(""); - for (std::list<std::string>::const_iterator i = tempStrings.begin(), - i_end = tempStrings.end(); i != i_end; ++i) - { + FOR_EACH (std::list<std::string>::const_iterator, i, tempStrings) mStrings.push_back(*i); - } } A_DELETE_COPY(IconsModal) |