mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-06-26 21:44:59 -07:00
resource id compar typo
This commit is contained in:
+1
-1
@@ -1568,7 +1568,7 @@ pe_resource_dir_push_dir(Arena *arena, PE_ResourceDir *dir, COFF_ResourceID id,
|
||||
internal PE_ResourceNode *
|
||||
pe_resource_dir_search_node(PE_ResourceDir *dir, COFF_ResourceID id)
|
||||
{
|
||||
for (PE_ResourceNode *i = dir->id_list.first; i != NULL; i = i->next) {
|
||||
for (PE_ResourceNode *i = dir->id_list.first; i != 0; i = i->next) {
|
||||
if (coff_resource_id_compar(&i->data.id, &id) == 0) {
|
||||
return i;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user