hid/common: Fix extents computation in nm units
commit5ad0b4a3359826da410ad001b3f789ae19d1e57d
authorPeter Clifton <peter@clifton-electronics.co.uk>
Sat, 22 Dec 2012 19:50:10 +0000 (22 19:50 +0000)
committerPeter Clifton <peter@clifton-electronics.co.uk>
Sat, 22 Dec 2012 19:50:10 +0000 (22 19:50 +0000)
tree0add66089bf60e858c0181e1e0ae8fa7c0727319
parent9e44f5eecb65fcf9df550e689c870d67828b3e36
hid/common: Fix extents computation in nm units

We still had some fallout from the nm units conversion here, using MAXINT
rather than COORD_MAX for some bounds checking.

This was completely breaking the lesstif HID pinout preview window.
src/hid/common/extents.c