* contrib/libnf/caplock.c

* Add {} to avoid ambiguous if-else.
This commit is contained in:
Walter Negro
2002-04-15 04:34:24 +00:00
parent 225e59364a
commit eb15e017ea

View File

@@ -73,11 +73,12 @@ HB_FUNC(FT_CAPLOCK)
hb_retl( ( int ) ( status_byte & 0x40 ) );
if ( hb_pcount() )
{
if ( ISLOG(1) )
status_byte = ( status_byte | ( unsigned char ) 0x40 );
else
status_byte = ( status_byte & ( unsigned char ) 0xBF );
}
return;
}
#endif