map: fix virtual mod index calculation
authorRan Benita <ran234@gmail.com>
Wed, 1 Aug 2012 08:01:21 +0000 (11:01 +0300)
committerRan Benita <ran234@gmail.com>
Tue, 7 Aug 2012 07:50:15 +0000 (10:50 +0300)
commitae968f855a70613920737a7523a3fd369c60802e
tree24a2bab14fb4ddfc33787f582210193dd2ab8051
parent80ab9f12b40e50a70263852f5526ceb62e50ad7b
map: fix virtual mod index calculation

The current code made us miss vmod index 0. Also look at the code in
vmod.c:LookupVModMask.

Signed-off-by: Ran Benita <ran234@gmail.com>
src/map.c