summaryrefslogtreecommitdiffstats
path: root/qtools
diff options
context:
space:
mode:
Diffstat (limited to 'qtools')
-rw-r--r--qtools/qstring.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/qtools/qstring.cpp b/qtools/qstring.cpp
index fa8f1d3..3673c20 100644
--- a/qtools/qstring.cpp
+++ b/qtools/qstring.cpp
@@ -11499,9 +11499,9 @@ static inline bool format(QChar::Decomposition tag, QString & str,
unsigned int l = index + len;
unsigned int r = index;
- bool left = FALSE, right = FALSE;
+ bool right = FALSE;
- left = ((l < str.length()) &&
+ bool left = ((l < str.length()) &&
((str[(int)l].joining() == QChar::Dual) ||
(str[(int)l].joining() == QChar::Right)));
if (r > 0) {