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:
Viktor Szakats
2009-02-10 01:35:15 +00:00
parent 5725adf803
commit 667983f196
4 changed files with 7 additions and 7 deletions

View File

@@ -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

View File

@@ -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. */

View File

@@ -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 ), &gtInfo );
if( gtInfo.pResult )

View File

@@ -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, &gtInfo );
if( gtInfo.pResult )