2011-01-17 12:14 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbmxml/hbmxml.c
* use hb_parstr_utf8() instead of hb_parc() in custom_save_cb()
This commit is contained in:
@@ -16,6 +16,10 @@
|
||||
The license applies to all entries newer than 2009-04-28.
|
||||
*/
|
||||
|
||||
2011-01-17 12:14 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
|
||||
* harbour/contrib/hbmxml/hbmxml.c
|
||||
* use hb_parstr_utf8() instead of hb_parc() in custom_save_cb()
|
||||
|
||||
2011-01-16 23:29 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
|
||||
* contrib/hbmxml/tests/testmxml.prg
|
||||
! Reverted 2011-01-17 00:05 UTC+0200 Petr Chornyj.
|
||||
|
||||
@@ -1840,7 +1840,9 @@ static char * custom_save_cb( mxml_node_t * node )
|
||||
|
||||
if( pCallback && hb_vmRequestReenter() )
|
||||
{
|
||||
char * pszResult;
|
||||
char * pszResult;
|
||||
const char * pszText;
|
||||
void * hText;
|
||||
|
||||
hb_vmPushEvalSym();
|
||||
hb_vmPush( pCallback );
|
||||
@@ -1848,7 +1850,9 @@ static char * custom_save_cb( mxml_node_t * node )
|
||||
|
||||
hb_vmSend( 1 );
|
||||
|
||||
pszResult = HB_ISCHAR( -1 ) ? strdup( hb_parc( -1 ) ) : NULL;
|
||||
pszText = hb_parstr_utf8( -1, &hText, NULL );
|
||||
pszResult = pszText ? hb_strdup( pszText ) : NULL;
|
||||
hb_strfree( hText );
|
||||
|
||||
hb_vmRequestRestore();
|
||||
return pszResult;
|
||||
|
||||
Reference in New Issue
Block a user