summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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..5159dfca7 100644
--- a/konsole/konsole/konsole_wcwidth.cpp
+++ b/konsole/konsole/konsole_wcwidth.cpp
@@ -213,7 +213,7 @@ int string_width( const TQString &txt )
{
int w = 0;
- for ( uint i = 1; i < txt.length(); ++i ) {
+ for ( uint i = 0; i < txt.length(); ++i ) {
w += konsole_wcwidth(txt[i].unicode());
}
return w;