Change API for the Compare function
git-svn-id: svn://svn.cc65.org/cc65/trunk@2573 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -96,7 +96,7 @@ HashNode* HT_Find (const HashTable* T, const void* Key)
|
||||
* if it is not really necessary.
|
||||
*/
|
||||
if (N->Hash == Hash &&
|
||||
T->Func->Compare (Key, T->Func->GetKey (N->Entry))) {
|
||||
T->Func->Compare (Key, T->Func->GetKey (N->Entry)) == 0) {
|
||||
/* Found */
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user