summaryrefslogtreecommitdiffstats
path: root/qtools
diff options
context:
space:
mode:
Diffstat (limited to 'qtools')
-rw-r--r--qtools/qstring.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qtools/qstring.cpp b/qtools/qstring.cpp
index 11187f6..95ee509 100644
--- a/qtools/qstring.cpp
+++ b/qtools/qstring.cpp
@@ -11515,7 +11515,7 @@ static inline bool format(QChar::Decomposition tag, QString & str,
switch (tag) {
case QChar::Medial:
- return (left & right);
+ return (left && right);
case QChar::Initial:
return (left && !right);
case QChar::Final: