[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdelibs/kjs
From: Harri Porten <porten () kde ! org>
Date: 2005-04-17 14:19:19
Message-ID: 20050417141919.4292C488 () office ! kde ! org
[Download RAW message or body]
CVS commit by porten:
don't produce a null string result on unescape("")
M +3 -0 ChangeLog 1.61
M +1 -1 function.cpp 1.93
--- kdelibs/kjs/ChangeLog #1.60:1.61
@@ -1,4 +1,7 @@
2005-04-17 Harri Porten <porten@kde.org>
+ * function.cpp: don't produce a null string result on unescape("")
+ (spotted in the JSC ChangeLog)
+
* string_object.cpp: faking toLocalLowerCase and toLocalUpperCase
by using their non-localized counter parts
--- kdelibs/kjs/function.cpp #1.92:1.93
@@ -976,5 +976,5 @@ Value GlobalFuncImp::call(ExecState *exe
}
case UnEscape: {
- UString s, str = args[0].toString(exec);
+ UString s = "", str = args[0].toString(exec);
int k = 0, len = str.size();
while (k < len) {
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic