aboutsummaryrefslogtreecommitdiffstats
path: root/src/kvilib/ext/KviCommandFormatter.cpp
diff options
context:
space:
mode:
authorGravatar Szymon Tomasz Stefanek2011-03-23 02:28:09 +0000
committerGravatar Szymon Tomasz Stefanek2011-03-23 02:28:09 +0000
commit9fff8c9bbbf78c53ecc1240125d44b20236f7f85 (patch)
treead4a1c215cb1834b4d995e6aa28df43ece4c025b /src/kvilib/ext/KviCommandFormatter.cpp
parentupdated popup version: please KEEP this file updated (diff)
downloadKVIrc-9fff8c9bbbf78c53ecc1240125d44b20236f7f85.tar.gz
KVIrc-9fff8c9bbbf78c53ecc1240125d44b20236f7f85.tar.bz2
KVIrc-9fff8c9bbbf78c53ecc1240125d44b20236f7f85.zip
Load translation catalogues 'on-the-fly' from the default locale directory
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5671 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/kvilib/ext/KviCommandFormatter.cpp')
-rw-r--r--src/kvilib/ext/KviCommandFormatter.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/kvilib/ext/KviCommandFormatter.cpp b/src/kvilib/ext/KviCommandFormatter.cpp
index a5327fb23..dc7b2816b 100644
--- a/src/kvilib/ext/KviCommandFormatter.cpp
+++ b/src/kvilib/ext/KviCommandFormatter.cpp
@@ -43,7 +43,7 @@ namespace KviCommandFormatter
} else {
// we pretend this line to be empty
KviCString szTmp = *(*pszArray);
- szTmp.trimmed();
+ szTmp.trim();
if(szTmp.hasData())
return false;
*(*pszArray) = ""; // set it to empty also in the main buffer
@@ -143,7 +143,7 @@ namespace KviCommandFormatter
void bufferFromBlock(KviCString & szBuffer)
{
- szBuffer.trimmed();
+ szBuffer.trim();
if((*(szBuffer.ptr()) == '{') && szBuffer.lastCharIs('}'))
{
@@ -154,7 +154,7 @@ namespace KviCommandFormatter
unindent(szBuffer);
- szBuffer.trimmed();
+ szBuffer.trim();
}
void bufferFromBlock(QString & szBuffer)