summaryrefslogtreecommitdiffstats
path: root/kjs/string_object.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kjs/string_object.cpp')
-rw-r--r--kjs/string_object.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/kjs/string_object.cpp b/kjs/string_object.cpp
index b56620a8c..304a4ba34 100644
--- a/kjs/string_object.cpp
+++ b/kjs/string_object.cpp
@@ -1,4 +1,3 @@
-// -*- c-basic-offset: 2 -*-
/*
* This file is part of the KDE libraries
* Copyright (C) 1999-2001 Harri Porten (porten@kde.org)
@@ -38,9 +37,6 @@
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
-#ifdef HAVE_SYS_BITYPES_H
-#include <sys/bitypes.h> /* For uintXX_t on Tru64 */
-#endif
using namespace KJS;
@@ -571,7 +567,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>");