2013-11-08 17:08 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)

* src/rtl/gtxwc/gtxwc.c
    ! missing parenthesis
This commit is contained in:
Przemysław Czerpak
2013-11-08 17:08:24 +01:00
parent 99f49f4faa
commit 95910ec18b
2 changed files with 5 additions and 1 deletions

View File

@@ -10,6 +10,10 @@
* Change, ! Fix, % Optimization, + Addition, - Removal, ; Comment
*/
2013-11-08 17:08 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* src/rtl/gtxwc/gtxwc.c
! missing parenthesis
2013-11-08 17:06 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* src/rtl/gtxwc/gtxwc.c
! protection agains switching [x] button before window is open

View File

@@ -5128,7 +5128,7 @@ static HB_BOOL hb_gt_xwc_Info( PHB_GT pGT, int iType, PHB_GT_INFO pInfo )
iVal = hb_itemGetNI( pInfo->pNewVal );
if( iVal >= 0 && iVal <= 2 && wnd->iCloseMode != iVal )
{
if( iVal == 2 || wnd->iCloseMode == 2 && wnd->fInit )
if( ( iVal == 2 || wnd->iCloseMode == 2 ) && wnd->fInit )
hb_gt_xwc_CloseButton( wnd, iVal < 2 );
wnd->iCloseMode = iVal;
}