Jacek Caban : jscript: Create non-enumerable properties in jsdisp_propput_const.

Alexandre Julliard julliard at winehq.org
Mon Nov 5 13:32:25 CST 2012


Module: wine
Branch: master
Commit: 57f7a6fa4e75eb98387cac2ae324a1ece850d831
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=57f7a6fa4e75eb98387cac2ae324a1ece850d831

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Mon Nov  5 15:03:49 2012 +0100

jscript: Create non-enumerable properties in jsdisp_propput_const.

---

 dlls/jscript/dispex.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/jscript/dispex.c b/dlls/jscript/dispex.c
index b4d333b..b01619e 100644
--- a/dlls/jscript/dispex.c
+++ b/dlls/jscript/dispex.c
@@ -273,7 +273,7 @@ static HRESULT ensure_prop_name(jsdisp_t *This, const WCHAR *name, BOOL search_p
     else
         hres = find_prop_name(This, string_hash(name), name, &prop);
     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) {
             prop->type = PROP_JSVAL;
@@ -1255,7 +1255,7 @@ HRESULT jsdisp_propput_const(jsdisp_t *obj, const WCHAR *name, jsval_t val)
     dispex_prop_t *prop;
     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))
         return hres;
 




More information about the wine-cvs mailing list