summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2012-06-21 23:40:22 +0200
committerJulien Nabet <serval2412@yahoo.fr>2012-06-21 23:40:22 +0200
commit8ee6d82da3fbf5676c9bbcddaa6e3e5538900b35 (patch)
tree0b22ae3955e5b8aa9513152bcdf040e32dcc3564
parent66fb0e8833a5ab6cc23a3acb7d6148ba948e51bd (diff)
Fix prefix ++/-- operators for non-primitive types
-rw-r--r--src/lib/VSDXContentCollector.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/VSDXContentCollector.cpp b/src/lib/VSDXContentCollector.cpp
index d7fe130..d1ae0b6 100644
--- a/src/lib/VSDXContentCollector.cpp
+++ b/src/lib/VSDXContentCollector.cpp
@@ -2652,14 +2652,14 @@ void libvisio::VSDXContentCollector::appendCharacters(WPXString &text, const std
else if (*iter < 0x20)
{
ucs4Character = 0x20;
- iter++;
+ ++iter;
}
else if (*iter >= 0x20 && *iter < 0x7f)
ucs4Character = *iter++;
else if (*iter == 0x7f)
{
ucs4Character = 0x20;
- iter++;
+ ++iter;
}
else
{