Commit 87e12632 authored by Alexandre Julliard's avatar Alexandre Julliard

wrc: Fix the duplicate resource check for user-defined types.

parent 394e97fe
......@@ -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));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment