2009-02-10 02:34 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* include/hbapigt.h
* source/rtl/hbgtcore.c
* source/rtl/gtfunc.c
- Removed unnecessary extension to HB_GT_INFO.
This commit is contained in:
@@ -8,6 +8,12 @@
|
||||
2009-12-31 13:59 UTC+0100 Foo Bar (foo.bar foobar.org)
|
||||
*/
|
||||
|
||||
2009-02-10 02:34 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
|
||||
* include/hbapigt.h
|
||||
* source/rtl/hbgtcore.c
|
||||
* source/rtl/gtfunc.c
|
||||
- Removed unnecessary extension to HB_GT_INFO.
|
||||
|
||||
2009-02-10 02:04 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
|
||||
* doc/whatsnew.txt
|
||||
* include/hbextern.ch
|
||||
|
||||
@@ -149,7 +149,6 @@ typedef struct
|
||||
PHB_ITEM pNewVal;
|
||||
PHB_ITEM pResult;
|
||||
PHB_ITEM pNewVal2;
|
||||
int nPCount;
|
||||
} HB_GT_INFO, * PHB_GT_INFO;
|
||||
|
||||
/* Public interface. These should never change, only be added to. */
|
||||
|
||||
@@ -103,10 +103,6 @@ HB_FUNC( HB_GTINFO )
|
||||
gtInfo.pNewVal = hb_param( 2, HB_IT_ANY );
|
||||
gtInfo.pNewVal2 = hb_param( 3, HB_IT_ANY );
|
||||
gtInfo.pResult = NULL;
|
||||
gtInfo.nPCount = hb_pcount() - 1;
|
||||
|
||||
if( gtInfo.nPCount > 2 )
|
||||
gtInfo.nPCount = 2;
|
||||
|
||||
hb_gtInfo( hb_parni( 1 ), >Info );
|
||||
if( gtInfo.pResult )
|
||||
|
||||
@@ -1594,7 +1594,7 @@ static BOOL hb_gt_def_Info( PHB_GT pGT, int iType, PHB_GT_INFO pInfo )
|
||||
else
|
||||
pInfo->pResult = hb_itemNew( pGT->pCargo );
|
||||
}
|
||||
if( pInfo->nPCount )
|
||||
if( pInfo->pNewVal )
|
||||
{
|
||||
if( pGT->pCargo )
|
||||
{
|
||||
@@ -1633,7 +1633,6 @@ static int hb_gt_def_Alert( PHB_GT pGT, PHB_ITEM pMessage, PHB_ITEM pOptions,
|
||||
HB_GT_INFO gtInfo;
|
||||
|
||||
gtInfo.pNewVal = gtInfo.pNewVal2 = gtInfo.pResult = NULL;
|
||||
gtInfo.nPCount = 0;
|
||||
|
||||
HB_GTSELF_INFO( pGT, HB_GTI_FULLSCREEN, >Info );
|
||||
if( gtInfo.pResult )
|
||||
|
||||
Reference in New Issue
Block a user