signed sort value

This commit is contained in:
David Rose 2002-08-28 17:37:39 +00:00
parent 7e8972ef58
commit 0cf3ae8638
1 changed files with 1 additions and 1 deletions

View File

@ -218,7 +218,7 @@ cull_callback(CullTraverser *trav, CullTraverserData &data) {
// values, both ints, in the MouseWatcherRegion; but in the
// interest of expediency we work within the existing interface
// which only provides one.
sort = (bin_sort << 16) | (sort & 0xffff);
sort = (bin_sort << 16) | ((sort + 0x8000) & 0xffff);
activate_region(transform, sort);
pg_trav->_top->add_region(get_region());