projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[JSCRIPT] Sync with Wine Staging 1.9.23. Dedicated to Ged. CORE-12409
[reactos.git]
/
reactos
/
dll
/
win32
/
jscript
/
error.c
diff --git
a/reactos/dll/win32/jscript/error.c
b/reactos/dll/win32/jscript/error.c
index
896c7c2
..
835f06e
100644
(file)
--- a/
reactos/dll/win32/jscript/error.c
+++ b/
reactos/dll/win32/jscript/error.c
@@
-76,8
+76,8
@@
static HRESULT Error_toString(script_ctx_t *ctx, vdisp_t *vthis, WORD flags,
if(name_len && msg_len) {
WCHAR *ptr;
-
ptr = jsstr_alloc_buf(name_len + msg_len + 2, &ret
);
- if(
ptr
) {
+
ret = jsstr_alloc_buf(name_len + msg_len + 2, &ptr
);
+ if(
ret
) {
jsstr_flush(name, ptr);
ptr[name_len] = ':';
ptr[name_len+1] = ' ';