mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-11-24 23:02:20 -08:00
bugfix resource compar
This commit is contained in:
1 parent
76b83794b2
commit
d9874e8f2f
2 files changed
+3
-3
No files matched your search
+1
-1
@@ -1555,7 +1555,7 @@ 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) {
|
||||
if (coff_resource_id_compar(&i->data.id, &id)) {
|
||||
if (coff_resource_id_compar(&i->data.id, &id) == 0) {
|
||||
return i;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user