Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
57f7a6fa
Commit
57f7a6fa
authored
Nov 05, 2012
by
Jacek Caban
Committed by
Alexandre Julliard
Nov 05, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
jscript: Create non-enumerable properties in jsdisp_propput_const.
parent
7491d480
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
dispex.c
dlls/jscript/dispex.c
+2
-2
No files found.
dlls/jscript/dispex.c
View file @
57f7a6fa
...
@@ -273,7 +273,7 @@ static HRESULT ensure_prop_name(jsdisp_t *This, const WCHAR *name, BOOL search_p
...
@@ -273,7 +273,7 @@ static HRESULT ensure_prop_name(jsdisp_t *This, const WCHAR *name, BOOL search_p
else
else
hres
=
find_prop_name
(
This
,
string_hash
(
name
),
name
,
&
prop
);
hres
=
find_prop_name
(
This
,
string_hash
(
name
),
name
,
&
prop
);
if
(
SUCCEEDED
(
hres
)
&&
(
!
prop
||
prop
->
type
==
PROP_DELETED
))
{
if
(
SUCCEEDED
(
hres
)
&&
(
!
prop
||
prop
->
type
==
PROP_DELETED
))
{
TRACE
(
"creating prop %s
\n
"
,
debugstr_w
(
name
)
);
TRACE
(
"creating prop %s
flags %x
\n
"
,
debugstr_w
(
name
),
create_flags
);
if
(
prop
)
{
if
(
prop
)
{
prop
->
type
=
PROP_JSVAL
;
prop
->
type
=
PROP_JSVAL
;
...
@@ -1255,7 +1255,7 @@ HRESULT jsdisp_propput_const(jsdisp_t *obj, const WCHAR *name, jsval_t val)
...
@@ -1255,7 +1255,7 @@ HRESULT jsdisp_propput_const(jsdisp_t *obj, const WCHAR *name, jsval_t val)
dispex_prop_t
*
prop
;
dispex_prop_t
*
prop
;
HRESULT
hres
;
HRESULT
hres
;
hres
=
ensure_prop_name
(
obj
,
name
,
FALSE
,
PROPF_
ENUM
|
PROPF_
CONST
,
&
prop
);
hres
=
ensure_prop_name
(
obj
,
name
,
FALSE
,
PROPF_CONST
,
&
prop
);
if
(
FAILED
(
hres
))
if
(
FAILED
(
hres
))
return
hres
;
return
hres
;
...
...
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