MrEd x: custom hash function for widget indices needs to provide only the expected hash code

svn: r8155
This commit is contained in:
Matthew Flatt 2007-12-29 19:23:30 +00:00
parent f80de2d73f
commit f805f6be61

View File

@ -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