Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
ecdf62d3
Commit
ecdf62d3
authored
Mar 27, 2013
by
Jacek Caban
Committed by
Alexandre Julliard
Mar 27, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
jscript: Use to_flat_string to access string buffer in array.c.
parent
3bf7255d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
array.c
dlls/jscript/array.c
+5
-4
No files found.
dlls/jscript/array.c
View file @
ecdf62d3
...
...
@@ -337,15 +337,16 @@ static HRESULT Array_join(script_ctx_t *ctx, vdisp_t *vthis, WORD flags, unsigne
return
hres
;
if
(
argc
)
{
jsstr_t
*
sep
;
const
WCHAR
*
sep
;
jsstr_t
*
sep_str
;
hres
=
to_
string
(
ctx
,
argv
[
0
]
,
&
sep
);
hres
=
to_
flat_string
(
ctx
,
argv
[
0
],
&
sep_str
,
&
sep
);
if
(
FAILED
(
hres
))
return
hres
;
hres
=
array_join
(
ctx
,
jsthis
,
length
,
sep
->
str
,
r
);
hres
=
array_join
(
ctx
,
jsthis
,
length
,
sep
,
r
);
jsstr_release
(
sep
);
jsstr_release
(
sep
_str
);
}
else
{
hres
=
array_join
(
ctx
,
jsthis
,
length
,
default_separatorW
,
r
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment