Fix variable get_img_width/height return value
commitfa24d51304316f8d9901368164a133232834ead4
authorDaniel Drake <dsd@cs.manchester.ac.uk>
Sat, 17 Nov 2007 13:15:25 +0000 (17 13:15 +0000)
committerDaniel Drake <dsd@cs.manchester.ac.uk>
Sat, 17 Nov 2007 13:17:15 +0000 (17 13:17 +0000)
tree3b14d067c8e05f17ec376f2f5399bb563d185e68
parentba24c0884a6c193854104bc234d981928ca33c32
Fix variable get_img_width/height return value

Fix the functions to conform to the documentation: -1 means non-imaging
device, 0 means variable. Internally, -1 is used to represent variable
height (to be noticably different from the memset-imposed default of zero).
libfprint/imgdev.c