From eb15e017ea73425bd2a44a1c96b21e6b6ff5355b Mon Sep 17 00:00:00 2001 From: Walter Negro Date: Mon, 15 Apr 2002 04:34:24 +0000 Subject: [PATCH] * contrib/libnf/caplock.c * Add {} to avoid ambiguous if-else. --- harbour/contrib/libnf/caplock.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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