diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2021-01-03 16:25:52 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2021-01-03 16:25:52 +0900 |
commit | 05ee12e2df827059e6f1d01524c19905501cf105 (patch) | |
tree | 877b5f52ae689fb9e39eea1a8e06e650e2bedf3e /kjs | |
parent | 90bf87760453c5fb32e6b135dfcfadc2d7700886 (diff) | |
download | tdelibs-05ee12e2df827059e6f1d01524c19905501cf105.tar.gz tdelibs-05ee12e2df827059e6f1d01524c19905501cf105.zip |
Fixed more uncrustify's code formatting offending files.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kjs')
-rw-r--r-- | kjs/string_object.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kjs/string_object.cpp b/kjs/string_object.cpp index fadb641a0..b9321e70f 100644 --- a/kjs/string_object.cpp +++ b/kjs/string_object.cpp @@ -570,7 +570,9 @@ Value StringProtoFuncImp::call(ExecState *exec, Object &thisObj, const List &arg result = String(s); break; case LocaleCompare: + { return Number(localeCompare(s, a0.toString(exec))); + } #ifndef KJS_PURE_ECMA case Big: result = String("<big>" + s + "</big>"); |