diff --git a/harbour/contrib/libnf/caplock.c b/harbour/contrib/libnf/caplock.c index 9413963ddf..868eb5ec05 100644 --- a/harbour/contrib/libnf/caplock.c +++ b/harbour/contrib/libnf/caplock.c @@ -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