src/liblpfk.c

changeset 4
81d49d42ad6a
parent 3
93f5d26366ad
     1.1 --- a/src/liblpfk.c	Tue Aug 26 18:45:45 2008 +0100
     1.2 +++ b/src/liblpfk.c	Tue Aug 26 19:14:23 2008 +0100
     1.3 @@ -361,7 +361,7 @@
     1.4  
     1.5  	if ((nbytes < 1) || (key > 31)) {
     1.6  		// no keys buffered, or keycode invalid.
     1.7 -		return -1;
     1.8 +		return LPFK_E_NO_KEYS;
     1.9  	} else {
    1.10  		// key buffered, pass it along.
    1.11  		return key;