2012-06-29 02:59 UTC+0200 Viktor Szakats (harbour syenar.net)
* src/rtl/gtwvt/gtwvt.c
* using TEXT( '\0' ) instead of 0
* src/rtl/run.c
* using contants instead of literals
This commit is contained in:
@@ -16,6 +16,12 @@
|
||||
The license applies to all entries newer than 2009-04-28.
|
||||
*/
|
||||
|
||||
2012-06-29 02:59 UTC+0200 Viktor Szakats (harbour syenar.net)
|
||||
* src/rtl/gtwvt/gtwvt.c
|
||||
* using TEXT( '\0' ) instead of 0
|
||||
|
||||
* src/rtl/run.c
|
||||
* using contants instead of literals
|
||||
|
||||
2012-06-28 12:30 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
|
||||
* contrib/hbxbp/xbpfiledialog.prg
|
||||
@@ -23,12 +29,12 @@
|
||||
|
||||
2012-06-28 12:14 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
|
||||
* contrib/hbxbp/xbpfiledialog.prg
|
||||
! Fixed: memory leak. Please read previously documented here
|
||||
! Fixed: memory leak. Please read previously documented here
|
||||
how a child can be destroyed properly with a temp parent.
|
||||
|
||||
2012-06-28 11:56 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
|
||||
* contrib/hbxbp/xbpfiledialog.prg
|
||||
! Fixed: a regression where QApplication():focusWidget()
|
||||
! Fixed: a regression where QApplication():focusWidget()
|
||||
was returned as a NIL instead of QWidget.
|
||||
|
||||
2012-06-28 11:25 UTC+0200 Viktor Szakats (harbour syenar.net)
|
||||
|
||||
@@ -2415,7 +2415,7 @@ static HB_BOOL hb_gt_wvt_Info( PHB_GT pGT, int iType, PHB_GT_INFO pInfo )
|
||||
if( hb_itemType( pInfo->pNewVal ) & HB_IT_STRING )
|
||||
{
|
||||
HB_ITEMCOPYSTR( pInfo->pNewVal, pWVT->fontFace, HB_SIZEOFARRAY( pWVT->fontFace ) );
|
||||
pWVT->fontFace[ HB_SIZEOFARRAY( pWVT->fontFace ) - 1 ] = 0;
|
||||
pWVT->fontFace[ HB_SIZEOFARRAY( pWVT->fontFace ) - 1 ] = TEXT( '\0' );
|
||||
}
|
||||
break;
|
||||
|
||||
|
||||
@@ -63,7 +63,7 @@ HB_FUNC( __RUN )
|
||||
{
|
||||
const char * pszCommand = hb_parc( 1 );
|
||||
|
||||
if( pszCommand && hb_gtSuspend() == 0 )
|
||||
if( pszCommand && hb_gtSuspend() == HB_SUCCESS )
|
||||
{
|
||||
#if defined( HB_OS_WIN )
|
||||
hb_fsProcessRun( pszCommand, NULL, 0, NULL, NULL, NULL, NULL, HB_FALSE );
|
||||
@@ -76,7 +76,7 @@ HB_FUNC( __RUN )
|
||||
hb_xfree( pszFree );
|
||||
#endif
|
||||
|
||||
if( hb_gtResume() != 0 )
|
||||
if( hb_gtResume() != HB_SUCCESS )
|
||||
{
|
||||
/* an error should be generated here !! Something like */
|
||||
/* hb_errRT_BASE_Ext1( EG_GTRESUME, 6002, NULL, HB_ERR_FUNCNAME, 0, EF_CANDEFAULT ); */
|
||||
|
||||
Reference in New Issue
Block a user