diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 96497c8105..724a780ae1 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -16,6 +16,10 @@ The license applies to all entries newer than 2009-04-28. */ +2011-01-16 16:46 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + * harbour/contrib/hbmxml/hbmxml.c + ! fixed C&P typo in previous commit + 2011-01-16 16:11 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbmxml/hbmxml.c ! fixed MXMLSAVESTRING() to correctly shrink destination buffer. diff --git a/harbour/contrib/hbmxml/hbmxml.c b/harbour/contrib/hbmxml/hbmxml.c index 266da12f48..6ebbb230d1 100644 --- a/harbour/contrib/hbmxml/hbmxml.c +++ b/harbour/contrib/hbmxml/hbmxml.c @@ -1476,12 +1476,12 @@ HB_FUNC( MXMLSAVESTRING ) if( pBuffer && HB_ISBYREF( 2 ) && hb_parcsiz( 2 ) > 0 ) { + char * buffer; + HB_SIZE buffer_size; + int bytes; + if( hb_itemGetWriteCL( pBuffer, &buffer, &buffer_size ) ) { - char * buffer; - HB_SIZE buffer_size; - int bytes; - if( HB_ISBLOCK( 3 ) || HB_ISSYMBOL( 3 ) ) { pCbs->save_cb = hb_param( 3, HB_IT_BLOCK | HB_IT_SYMBOL );