jscript: Implement the SCRIPTITEM_CODEONLY flag.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com> Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
0242ae52e6
commit
f32a729032
|
@ -115,7 +115,7 @@ named_item_t *lookup_named_item(script_ctx_t *ctx, const WCHAR *item_name, unsig
|
|||
|
||||
for(item = ctx->named_items; item; item = item->next) {
|
||||
if((item->flags & flags) == flags && !wcscmp(item->name, item_name)) {
|
||||
if(!item->disp) {
|
||||
if(!item->disp && (flags || !(item->flags & SCRIPTITEM_CODEONLY))) {
|
||||
IUnknown *unk;
|
||||
|
||||
if(!ctx->site)
|
||||
|
|
Loading…
Reference in New Issue