Alistair Leslie-Hughes : jscript: Support PROPERTYGET in Date Value.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Dec 15 15:32:06 CST 2014


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

Author: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Date:   Fri Dec 12 13:47:54 2014 +1100

jscript: Support PROPERTYGET in Date Value.

---

 dlls/jscript/date.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/dlls/jscript/date.c b/dlls/jscript/date.c
index 81b714f..8d62975 100644
--- a/dlls/jscript/date.c
+++ b/dlls/jscript/date.c
@@ -1925,6 +1925,8 @@ static HRESULT Date_value(script_ctx_t *ctx, vdisp_t *jsthis, WORD flags, unsign
     switch(flags) {
     case INVOKE_FUNC:
         return throw_type_error(ctx, JS_E_FUNCTION_EXPECTED, NULL);
+    case INVOKE_PROPERTYGET:
+        return dateobj_to_string( (DateInstance*)jsthis->u.jsdisp, r);
     default:
         FIXME("unimplemented flags %x\n", flags);
         return E_NOTIMPL;




More information about the wine-cvs mailing list