2011-10-11 01:56 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

* harbour/src/rtl/natmsg.c
    ! fixed typo in recent commit
This commit is contained in:
Przemyslaw Czerpak
2011-10-10 23:56:43 +00:00
parent 1725166be3
commit 2e4aca3032
2 changed files with 8 additions and 4 deletions

View File

@@ -16,6 +16,10 @@
The license applies to all entries newer than 2009-04-28.
*/
2011-10-11 01:56 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/natmsg.c
! fixed typo in recent commit
2011-10-10 20:59 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/natmsg.c
! modified __NATISAFFIRM() and __NATISNEGATIVE() to work with

View File

@@ -109,9 +109,9 @@ HB_FUNC( __NATISAFFIRM )
{
PHB_CODEPAGE cdp = hb_vmCDP();
if( cdp )
fIS = hb_cdpicmp( hb_parc( 1 ), nLen, szYesNo, nStr, cdp, HB_FALSE );
fIS = hb_cdpicmp( hb_parc( 1 ), nLen, szYesNo, nStr, cdp, HB_FALSE ) == 0;
else
fIS = hb_strnicmp( hb_parc( 1 ), szYesNo, nStr );
fIS = hb_strnicmp( hb_parc( 1 ), szYesNo, nStr ) == 0;
}
}
hb_retl( fIS );
@@ -136,9 +136,9 @@ HB_FUNC( __NATISNEGATIVE )
{
PHB_CODEPAGE cdp = hb_vmCDP();
if( cdp )
fIS = hb_cdpicmp( hb_parc( 1 ), nLen, szYesNo, nStr, cdp, HB_FALSE );
fIS = hb_cdpicmp( hb_parc( 1 ), nLen, szYesNo, nStr, cdp, HB_FALSE ) == 0;
else
fIS = hb_strnicmp( hb_parc( 1 ), szYesNo, nStr );
fIS = hb_strnicmp( hb_parc( 1 ), szYesNo, nStr ) == 0;
}
}
hb_retl( fIS );