diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 0b98791f7d..226ff58f1b 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -8,6 +8,11 @@ 2008-12-31 13:59 UTC+0100 Foo Bar (foo.bar foobar.org) */ +2008-10-13 20:19 UTC+0200 Viktor Szakats (harbour.01 syenar hu) + * contrib/hbmisc/strfmt.c + ! Fixed GPF when non-string was passed as + first parameter. + 2008-10-13 18:01 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/thread.c + added small description for hb_threadOnce() .prg function diff --git a/harbour/contrib/hbmisc/strfmt.c b/harbour/contrib/hbmisc/strfmt.c index 8edb28139f..2d1586093e 100644 --- a/harbour/contrib/hbmisc/strfmt.c +++ b/harbour/contrib/hbmisc/strfmt.c @@ -73,7 +73,7 @@ HB_FUNC( STRFORMAT ) if( nParNum >= 1 ) { - char * pszMask = hb_parc( 1 ); + char * pszMask = hb_parcx( 1 ); ULONG nMaskLen = hb_parclen( 1 ); ULONG nMaskPos; ULONG nPos;