From ce051aa825e79fe8355d60f774c9ae8c1789f00e Mon Sep 17 00:00:00 2001 From: Walter Negro Date: Mon, 15 Apr 2002 04:35:29 +0000 Subject: [PATCH] * contrib/libnf/numlock.c * Add {} to avoid ambiguous if-else. --- harbour/contrib/libnf/numlock.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/harbour/contrib/libnf/numlock.c b/harbour/contrib/libnf/numlock.c index fc01b6f042..d2e5c0cffd 100644 --- a/harbour/contrib/libnf/numlock.c +++ b/harbour/contrib/libnf/numlock.c @@ -80,17 +80,17 @@ HB_FUNC(FT_NUMLOCK) { #if defined(HB_OS_DOS) - { hb_retl( ( int ) ( status_byte & 0x20 ) ); - if ( PCOUNT ) + if ( hb_pcount() ) + { if ( ISLOG(1) ) status_byte = ( status_byte | 0x20 ); else status_byte = ( status_byte & 0xDF ); - - return; } + return; + #endif }