From 18c1893d52366dc0215ee5155cab0aa601deb281 Mon Sep 17 00:00:00 2001 From: Przemyslaw Czerpak Date: Mon, 31 May 2010 16:05:54 +0000 Subject: [PATCH] 2010-05-31 18:05 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbxpp/binnumx.c ! fixed typo in W2BIN() function - problem reported by Bicahi Esgici on harbour-user list. Thx. --- harbour/ChangeLog | 5 +++++ harbour/contrib/hbxpp/binnumx.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 634bc57f26..ff53c82b79 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -17,6 +17,11 @@ past entries belonging to author(s): Viktor Szakats. */ +2010-05-31 18:05 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + * harbour/contrib/hbxpp/binnumx.c + ! fixed typo in W2BIN() function - problem reported by Bicahi Esgici + on harbour-user list. Thx. + 2010-05-31 15:55 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) + contrib/gtalleg/gtalleg.hbp + contrib/gtalleg/gtallegs.hbp diff --git a/harbour/contrib/hbxpp/binnumx.c b/harbour/contrib/hbxpp/binnumx.c index edb786f52f..4cd084443e 100644 --- a/harbour/contrib/hbxpp/binnumx.c +++ b/harbour/contrib/hbxpp/binnumx.c @@ -87,7 +87,7 @@ HB_FUNC( W2BIN ) char szResult[ 2 ]; HB_U16 uiValue = ( HB_U16 ) hb_parni( 1 ); HB_PUT_LE_UINT16( szResult, uiValue ); - hb_retclen( szResult, 4 ); + hb_retclen( szResult, 2 ); } HB_FUNC( F2BIN )