mirror of
https://github.com/reactos/wine.git
synced 2025-03-04 10:47:49 +00:00
wrc: Fix the duplicate resource check for user-defined types.
This commit is contained in:
parent
394e97feea
commit
87e12632fa
@ -417,7 +417,8 @@ resources
|
||||
if(rsc->type == head->type
|
||||
&& rsc->lan->id == head->lan->id
|
||||
&& rsc->lan->sub == head->lan->sub
|
||||
&& !compare_name_id(rsc->name, head->name))
|
||||
&& !compare_name_id(rsc->name, head->name)
|
||||
&& (rsc->type != res_usr || !compare_name_id(rsc->res.usr->type,head->res.usr->type)))
|
||||
{
|
||||
yyerror("Duplicate resource name '%s'", get_nameid_str(rsc->name));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user