From 5638e5251b2498f1a7f9ed08fcdb1774f1c6cbfd Mon Sep 17 00:00:00 2001 From: Mindaugas Kavaliauskas Date: Mon, 4 May 2009 13:48:26 +0000 Subject: [PATCH] 2009-05-04 16:40 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/include/hbexprb.h * suppressed warning for hb_i18n_gettext("") --- harbour/ChangeLog | 4 ++++ harbour/include/hbexprb.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index e535ead427..c1ba129b4f 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -18,6 +18,10 @@ */ +2009-05-04 16:45 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) + * harbour/include/hbexprb.h + * suppressed warning for hb_i18n_gettext("") + 2009-05-04 10:00 UTC+0100 Miguel Angel Marchuet * contrib/hbbmcdx/bmdbfcdx.c * contrib/hbbmcdx/hbbmcdx.h diff --git a/harbour/include/hbexprb.c b/harbour/include/hbexprb.c index 0e3d52fd73..8f83bc90cc 100644 --- a/harbour/include/hbexprb.c +++ b/harbour/include/hbexprb.c @@ -1896,9 +1896,9 @@ static HB_EXPR_FUNC( hb_compExprUseFunCall ) const char * szPlurals[ HB_I18N_PLURAL_MAX ]; if( usCount == 1 ) { - if( pArg->ExprType == HB_ET_STRING && pArg->ulLength > 0 ) + if( pArg->ExprType == HB_ET_STRING ) { - if( HB_COMP_PARAM->fI18n ) + if( HB_COMP_PARAM->fI18n && pArg->ulLength > 0 ) { if( pCount ) {