From d52d946ca817d5acfda23ec418a2b2e32805225f Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Mon, 21 Nov 2005 16:56:33 +0000 Subject: [PATCH] fix to prev commit --- harbour/source/rtl/math.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/harbour/source/rtl/math.c b/harbour/source/rtl/math.c index ab46a91bfc..393749f9dd 100644 --- a/harbour/source/rtl/math.c +++ b/harbour/source/rtl/math.c @@ -296,11 +296,11 @@ int hb_mathSetErrMode (int imode) oldmode = s_hb_matherr_mode; - if ((iNewMode == HB_MATH_ERRMODE_DEFAULT) || - (iNewMode == HB_MATH_ERRMODE_CDEFAULT) || - (iNewMode == HB_MATH_ERRMODE_USER) || - (iNewMode == HB_MATH_ERRMODE_USERDEFAULT) || - (iNewMode == HB_MATH_ERRMODE_USERCDEFAULT)) + if ((imode == HB_MATH_ERRMODE_DEFAULT) || + (imode == HB_MATH_ERRMODE_CDEFAULT) || + (imode == HB_MATH_ERRMODE_USER) || + (imode == HB_MATH_ERRMODE_USERDEFAULT) || + (imode == HB_MATH_ERRMODE_USERCDEFAULT)) { s_hb_matherr_mode = imode; }