diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 0f454fe66a..fc811a3db2 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -8,6 +8,10 @@ 2002-12-01 13:30 UTC+0100 Foo Bar */ +2007-04-15 14:57 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + * harbour/source/common/hbver.c + ! fixed typo in buffer size passed to snprintf() + 2007-04-15 14:35 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/hbmain.c * harbour/source/vm/dbgentry.c diff --git a/harbour/source/common/hbver.c b/harbour/source/common/hbver.c index 2772a37162..4e78975a25 100644 --- a/harbour/source/common/hbver.c +++ b/harbour/source/common/hbver.c @@ -537,7 +537,7 @@ char * hb_verPCode( void ) pszPCode = ( char * ) hb_xgrab( 24 ); - snprintf( pszPCode, 32, "PCode version: %d.%d", + snprintf( pszPCode, 24, "PCode version: %d.%d", HB_PCODE_VER >> 8, HB_PCODE_VER & 0xff ); return pszPCode;