git://git.webkit.org
/
WebKit-https.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
2006-07-20 Steve Falkenburg <sfalken@apple.com>
[WebKit-https.git]
/
JavaScriptCore
/
kjs
/
function.cpp
diff --git
a/JavaScriptCore/kjs/function.cpp
b/JavaScriptCore/kjs/function.cpp
index ffd611c53e9f6270deb5f23af7f19f437a32ab77..1c9abcfa8d058e52b8f23f015788551f9deddb0b 100644
(file)
--- a/
JavaScriptCore/kjs/function.cpp
+++ b/
JavaScriptCore/kjs/function.cpp
@@
-947,7
+947,11
@@
UString escapeStringForPrettyPrinting(const UString& s)
else {
char hexValue[7];
+#if PLATFORM(WIN_OS)
+ _snprintf(hexValue, 7, "\\u%04x", c);
+#else
snprintf(hexValue, 7, "\\u%04x", c);
+#endif
escapedString += hexValue;
}
}