mirror of
https://github.com/gbdev/rgbds.git
synced 2026-10-04 11:15:39 +00:00
Fix hashmap collisions sometimes hanging deletion
This commit is contained in:
1 parent
c135e2c6a0
commit
781a65ee49
4 files changed
+50
No files matched your search
@@ -78,6 +78,7 @@ bool hash_RemoveElement(HashMap map, char const *key)
|
||||
*ptr = next;
|
||||
return true;
|
||||
}
|
||||
ptr = &(*ptr)->next;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user