Fixed duplication of typename in 16-bit assembly output.
This commit is contained in:
parent
ec936350f9
commit
053db33ac1
|
@ -840,8 +840,6 @@ static void write_rsc_names(FILE *fp, resource_t *top)
|
|||
{
|
||||
res_count_t *rcp = &rcarray[i];
|
||||
|
||||
for(j = 0; j < rcp->count; j++)
|
||||
{
|
||||
if(rcp->type.type == name_str)
|
||||
{
|
||||
fprintf(fp, "%s_%s_typename:\n",
|
||||
|
@ -849,6 +847,8 @@ static void write_rsc_names(FILE *fp, resource_t *top)
|
|||
rcp->type.name.s_name->str.cstr);
|
||||
write_name_str(fp, &(rcp->type));
|
||||
}
|
||||
for(j = 0; j < rcp->count; j++)
|
||||
{
|
||||
if(rcp->rscarray[j]->name->type == name_str)
|
||||
{
|
||||
fprintf(fp, "%s%s_name:\n",
|
||||
|
|
Loading…
Reference in New Issue