[Bug 46759] New: Wine Resource Compiler (wrc) ignores options in POPUP statement
wine-bugs at winehq.org
wine-bugs at winehq.org
Sun Mar 3 07:54:43 CST 2019
https://bugs.winehq.org/show_bug.cgi?id=46759
Bug ID: 46759
Summary: Wine Resource Compiler (wrc) ignores options in POPUP
statement
Product: Wine
Version: unspecified
Hardware: Other
OS: other
Status: UNCONFIRMED
Severity: minor
Priority: P2
Component: -unknown
Assignee: wine-bugs at winehq.org
Reporter: roger.moser at pamho.net
If you have the following resource script:
xyz MENU
BEGIN
POPUP "Grayed Popup", GRAYED
MENUITEM "Item", 100
END
END
then the Wine Resource Compiler (wrc), unlike Microsoft's RC, ignores the
options like GRAYED in the POPUP statement.
To fix this bug, make the following change in the file tools/wrc/parser.y
at around line 1235:
| item_definitions tPOPUP tSTRING item_options menu_body {
$$ = new_menu_item();
$$->prev = $1;
if($1)
$1->next = $$;
$$->popup = get_item_head($5);
$$->state = $4; // <<<<<<<< Insert this line <<<<<<<<
$$->name = $3;
}
;
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
More information about the wine-bugs
mailing list