From f347aa92f1ff8fbf6335c5cc428e5bc9678a3a36 Mon Sep 17 00:00:00 2001 From: Maxim Mamontov Date: Mon, 21 Mar 2011 16:30:27 +0200 Subject: [PATCH] Fix prefix incremental and decremental operators to postfix --- .../plugins/configuration/sgconfig/configproto.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/projects/stargazer/plugins/configuration/sgconfig/configproto.cpp b/projects/stargazer/plugins/configuration/sgconfig/configproto.cpp index f6f97f5f..6c25e099 100644 --- a/projects/stargazer/plugins/configuration/sgconfig/configproto.cpp +++ b/projects/stargazer/plugins/configuration/sgconfig/configproto.cpp @@ -157,10 +157,10 @@ while(nonstop) str[8] = 0; len = strlen(str); - n++; + ++n; if (n == requestList.end()) done = 1; - n--; + --n; if (XML_Parse(xmlParser, (*n).c_str(), len, done) == XML_STATUS_ERROR) { @@ -181,7 +181,7 @@ while(nonstop) if (done) return 0; - n++; + ++n; } return 0; -- 2.44.2