summaryrefslogtreecommitdiffstats
path: root/l10ntools/source/gConvSrc.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'l10ntools/source/gConvSrc.cxx')
-rw-r--r--l10ntools/source/gConvSrc.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/l10ntools/source/gConvSrc.cxx b/l10ntools/source/gConvSrc.cxx
index d73bd4d137c6..04b32bcca20b 100644
--- a/l10ntools/source/gConvSrc.cxx
+++ b/l10ntools/source/gConvSrc.cxx
@@ -269,9 +269,10 @@ void convert_src::trim(string& sText)
while (sText[0] == ' ' || sText[0] == '\t')
sText.erase(0,1);
- for (nL = sText.size(); sText[nL-1] == ' ' || sText[nL-1] == '\t'; --nL);
- if (nL != (int)sText.size())
- sText.erase(nL);
+ for (nL = sText.size(); sText[nL-1] == ' ' || sText[nL-1] == '\t'; --nL)
+ ;
+ if (nL != (int)sText.size())
+ sText.erase(nL);
}