summaryrefslogtreecommitdiffstats
path: root/kjs/string_object.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2021-01-03 16:25:52 +0900
committerMichele Calgaro <[email protected]>2021-01-03 16:50:58 +0900
commitb3012975a49a6520c1d3fd2108eb86a3dbaf8395 (patch)
treedf677f88717d2a9c310e26a84de9a5d3b0f7a989 /kjs/string_object.cpp
parent93f672a4c14e07366928299eb3c3182a562df086 (diff)
downloadtdelibs-b3012975a49a6520c1d3fd2108eb86a3dbaf8395.tar.gz
tdelibs-b3012975a49a6520c1d3fd2108eb86a3dbaf8395.zip
Fixed more uncrustify's code formatting offending files.
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 05ee12e2df827059e6f1d01524c19905501cf105)
Diffstat (limited to 'kjs/string_object.cpp')
-rw-r--r--kjs/string_object.cpp2
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>");