aboutsummaryrefslogtreecommitdiff
path: root/src/shared/Util.cpp
diff options
context:
space:
mode:
authorMachiavelli <none@none>2009-08-28 01:57:29 +0200
committerMachiavelli <none@none>2009-08-28 01:57:29 +0200
commit5ce0b50fc628a82b3df70f6b640638b785d996d7 (patch)
treed2eb84e16b572e097b12a40ef71ea1dfa618d8fb /src/shared/Util.cpp
parent1c45055482d5af9a2c7e374ae782b3a107c87d37 (diff)
parent562f661ac3bc64fecf4a847b506651a5d7306e0b (diff)
Merge
--HG-- branch : trunk
Diffstat (limited to 'src/shared/Util.cpp')
-rw-r--r--src/shared/Util.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/shared/Util.cpp b/src/shared/Util.cpp
index c0c8dc62b9d..41ed9c0fa8b 100644
--- a/src/shared/Util.cpp
+++ b/src/shared/Util.cpp
@@ -158,6 +158,9 @@ void stripLineInvisibleChars(std::string &str)
if(wpos < str.size())
str.erase(wpos,str.size());
+ if(str.find("|TInterface")!=std::string::npos)
+ str.clear();
+
}
std::string secsToTimeString(uint32 timeInSecs, bool shortText, bool hoursOnly)