summaryrefslogtreecommitdiffstats
path: root/konsole/konsole/konsole_wcwidth.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'konsole/konsole/konsole_wcwidth.cpp')
-rw-r--r--konsole/konsole/konsole_wcwidth.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/konsole/konsole/konsole_wcwidth.cpp b/konsole/konsole/konsole_wcwidth.cpp
index 098cd16d4..63abe8dd1 100644
--- a/konsole/konsole/konsole_wcwidth.cpp
+++ b/konsole/konsole/konsole_wcwidth.cpp
@@ -214,7 +214,7 @@ int string_width( const TQString &txt )
int w = 0;
for ( uint i = 1; i < txt.length(); ++i ) {
- w += konsole_wcwidth(txt[i].unicode());
+ w += konsole_wcwidth(txt[i].tqunicode());
}
return w;
}