author | ecalot
<ecalot> 2005-06-08 16:30:59 UTC |
committer | ecalot
<ecalot> 2005-06-08 16:30:59 UTC |
parent | d8f20eee0da85d441b504fcae3796d2052909af3 |
PR/src/lib/layers/reslist.c | +2 | -6 |
diff --git a/PR/src/lib/layers/reslist.c b/PR/src/lib/layers/reslist.c index 7436fe9..730a80a 100644 --- a/PR/src/lib/layers/reslist.c +++ b/PR/src/lib/layers/reslist.c @@ -92,7 +92,7 @@ void resourceListAddInfo(tResourceList* r,tResource* res) { res->palette.value=0; memset(res->palette.index,0,5); res->number=0; - res->type=verifyHeader(res->data,res->size); /* TODO: send the verifyHeader to the export module */ + res->type=0; } else { const tResource* resInfo=list_getCursor(r); /* copy only the list information */ @@ -103,11 +103,7 @@ void resourceListAddInfo(tResourceList* r,tResource* res) { res->palette=resInfo->palette; res->number=resInfo->number; /* If resource type is invalid or 0, the type will be decided by PR */ - if (!resInfo->type) { - res->type=verifyHeader(res->data,res->size); - } else { - res->type=resInfo->type; - } + res->type=resInfo->type; } }