use prefix ++ instead of postfix where available

This commit is contained in:
Andrzej Rybczak
2009-07-04 06:41:35 +02:00
parent 2eb913fe22
commit 9dab25e02c
26 changed files with 178 additions and 178 deletions

View File

@@ -118,7 +118,7 @@ std::string Help::DisplayKeys(int *key, int size)
}
if (result.length() > 12)
result = result.substr(0, 12);
for (size_t i = result.length(); i <= 12; result += " ", i++) { }
for (size_t i = result.length(); i <= 12; result += " ", ++i) { }
result += ": ";
return result;
}