diff options
author | Kevin Hunter <hunteke@earlham.edu> | 2011-02-14 10:50:28 -0500 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-02-14 17:15:56 +0100 |
commit | 178c9f5063a89d19e1f050883e9cd8522295be00 (patch) | |
tree | 34b710e190a1a267e2cb6130559494e2ebe8353f /setup_native | |
parent | 820697b4d44ee41f8dfa2ada0f9dba9169d16652 (diff) |
cppcheck: post- to pre- *crement change
Diffstat (limited to 'setup_native')
-rw-r--r-- | setup_native/source/win32/customactions/shellextensions/registerextensions.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/setup_native/source/win32/customactions/shellextensions/registerextensions.cxx b/setup_native/source/win32/customactions/shellextensions/registerextensions.cxx index aecd1057a067..2f7196d5b5ea 100644 --- a/setup_native/source/win32/customactions/shellextensions/registerextensions.cxx +++ b/setup_native/source/win32/customactions/shellextensions/registerextensions.cxx @@ -111,7 +111,7 @@ static std::_tstring createTempFolder() std::_tstring cur(szTempName); //make a file URL from the path std::_tstring ret(TEXT("file:///")); - for (std::_tstring::iterator i = cur.begin(); i != cur.end(); i++) + for (std::_tstring::iterator i = cur.begin(); i != cur.end(); ++i) { if (*i == '\\') ret.append(TEXT("/")); @@ -133,7 +133,7 @@ static void deleteTempFolder(const std::_tstring& sTempFolder) const std::_tstring path(sTempFolder.substr(8)); std::_tstring path2; // MessageBox(NULL, path.c_str(), "del1", MB_OK); - for (std::_tstring::const_iterator i = path.begin(); i != path.end(); i++) + for (std::_tstring::const_iterator i = path.begin(); i != path.end(); ++i) { if (*i == '/') path2.append(TEXT("\\")); |