2012-06-04 13:30 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)

* contrib/hbqt/qscintilla/qth/QsciStyle.qth
  * contrib/hbqt/qscintilla/qth/QsciStyledText.qth
    ! Fixed: usage of hbqt_par_QString().
This commit is contained in:
Pritpal Bedi
2012-06-04 20:33:02 +00:00
parent d6512e374a
commit 41dce22eea
3 changed files with 11 additions and 2 deletions

View File

@@ -16,6 +16,11 @@
The license applies to all entries newer than 2009-04-28.
*/
2012-06-04 13:30 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qscintilla/qth/QsciStyle.qth
* contrib/hbqt/qscintilla/qth/QsciStyledText.qth
! Fixed: usage of hbqt_par_QString().
2012-06-04 13:27 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/gtwvg/wvgwing.c
! Fixed: (probably) 64 bit warning reported on the list.

View File

@@ -41,7 +41,9 @@ HB_FUNC( QT_QSCISTYLE )
}
else if( hb_pcount() >= 5 )
{
__HB_RETPTRGC__( new QsciStyle( hb_parni( 1 ), hbqt_par_QString( 2 ), *hbqt_par_QColor( 3 ), *hbqt_par_QColor( 4 ), * hbqt_par_QFont( 5 ), HB_ISLOG( 6 ) ? hb_parl( 6 ) : false ) );
void * pText01 = NULL;
__HB_RETPTRGC__( new QsciStyle( hb_parni( 1 ), hb_parstr_utf8( 2, &pText01, NULL ), *hbqt_par_QColor( 3 ), *hbqt_par_QColor( 4 ), * hbqt_par_QFont( 5 ), HB_ISLOG( 6 ) ? hb_parl( 6 ) : false ) );
hb_strfree( pText01 );
}
else
{

View File

@@ -42,7 +42,9 @@ HB_FUNC( QT_QSCISTYLEDTEXT )
}
else if( hb_pcount() == 2 && HB_ISCHAR( 1 ) && HB_ISOBJECT( 2 ) )
{
__HB_RETPTRGC__( new QsciStyledText( hbqt_par_QString( 1 ), *hbqt_par_QsciStyle( 2 ) ) );
void * pText01 = NULL;
__HB_RETPTRGC__( new QsciStyledText( hb_parstr_utf8( 1, &pText01, NULL ), *hbqt_par_QsciStyle( 2 ) ) );
hb_strfree( pText01 );
}
}
</CODE>