MrEd x: custom hash function for widget indices needs to provide only the expected hash code
svn: r8155
This commit is contained in:
parent
f80de2d73f
commit
f805f6be61
|
@ -422,8 +422,10 @@ static void widget_hash_indices(void *_key, long *_h, long *_h2)
|
||||||
h = (lkey >> 2);
|
h = (lkey >> 2);
|
||||||
h2 = (lkey >> 3);
|
h2 = (lkey >> 3);
|
||||||
|
|
||||||
*_h = h;
|
if (_h)
|
||||||
*_h2 = h2;
|
*_h = h;
|
||||||
|
if (_h2)
|
||||||
|
*_h2 = h2;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user