jscript: Support PROPERTYGET in Date Value.

This commit is contained in:
Alistair Leslie-Hughes 2014-12-12 13:47:54 +11:00 committed by Alexandre Julliard
parent 5069cb7b07
commit 6e8490a582
1 changed files with 2 additions and 0 deletions

View File

@ -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;