diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 40f76da760..57ccfdbdff 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -8,6 +8,12 @@ 2002-12-01 13:30 UTC+0100 Foo Bar */ +2007-08-09 03:35 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + * harbour/contrib/libnf/numlock.c + * harbour/contrib/libnf/caplock.c + * harbour/contrib/libct/keyset.c + ! fixed typo + 2007-08-09 02:25 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gtgui/gtgui.c ! fixed typo in copy and past in previous commit diff --git a/harbour/contrib/libct/keyset.c b/harbour/contrib/libct/keyset.c index 74a77f06a4..825bcdf56b 100644 --- a/harbour/contrib/libct/keyset.c +++ b/harbour/contrib/libct/keyset.c @@ -74,7 +74,7 @@ static void SetGet( int iFlag ) if( ISLOG( 1 ) ) { iNewState = hb_parl( 1 ) ? ( iState | iFlag ) : ( iState & ~iFlag ); - gtInfo.pNewVal = hb_itemPutNI( gtInfo.pNewVal, iState ); + gtInfo.pNewVal = hb_itemPutNI( gtInfo.pNewVal, iNewState ); hb_gtInfo( GTI_KBDSHIFTS, >Info ); } diff --git a/harbour/contrib/libnf/caplock.c b/harbour/contrib/libnf/caplock.c index 5db7ed1c0a..13a7fc6a63 100644 --- a/harbour/contrib/libnf/caplock.c +++ b/harbour/contrib/libnf/caplock.c @@ -83,7 +83,7 @@ HB_FUNC( FT_CAPLOCK ) { iNewState = hb_parl( 1 ) ? ( iState | GTI_KBD_CAPSLOCK ) : ( iState & ~GTI_KBD_CAPSLOCK ); - gtInfo.pNewVal = hb_itemPutNI( gtInfo.pNewVal, iState ); + gtInfo.pNewVal = hb_itemPutNI( gtInfo.pNewVal, iNewState ); hb_gtInfo( GTI_KBDSHIFTS, >Info ); } diff --git a/harbour/contrib/libnf/numlock.c b/harbour/contrib/libnf/numlock.c index b594742cd9..cbda124fb7 100644 --- a/harbour/contrib/libnf/numlock.c +++ b/harbour/contrib/libnf/numlock.c @@ -94,7 +94,7 @@ HB_FUNC( FT_NUMLOCK ) { iNewState = hb_parl( 1 ) ? ( iState | GTI_KBD_NUMLOCK ) : ( iState & ~GTI_KBD_NUMLOCK ); - gtInfo.pNewVal = hb_itemPutNI( gtInfo.pNewVal, iState ); + gtInfo.pNewVal = hb_itemPutNI( gtInfo.pNewVal, iNewState ); hb_gtInfo( GTI_KBDSHIFTS, >Info ); }