summaryrefslogtreecommitdiff
path: root/setup_native/source/win32/customactions/shellextensions/registerextensions.cxx
diff options
context:
space:
mode:
authorKevin Hunter <hunteke@earlham.edu>2011-02-14 10:50:28 -0500
committerThomas Arnhold <thomas@arnhold.org>2011-02-14 17:15:56 +0100
commit178c9f5063a89d19e1f050883e9cd8522295be00 (patch)
tree34b710e190a1a267e2cb6130559494e2ebe8353f /setup_native/source/win32/customactions/shellextensions/registerextensions.cxx
parent820697b4d44ee41f8dfa2ada0f9dba9169d16652 (diff)
cppcheck: post- to pre- *crement change
Diffstat (limited to 'setup_native/source/win32/customactions/shellextensions/registerextensions.cxx')
-rw-r--r--setup_native/source/win32/customactions/shellextensions/registerextensions.cxx4
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("\\"));