2016-09-22 15:47 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* include/hbapi.h
* include/hbvmpub.h
* removed casting C style casting from commonly used macros
* contrib/gtqtc/gtqtc1.cpp
* use C++ casting instead of C casting
* contrib/rddads/ads1.c
* contrib/rddads/adsx.c
* contrib/rddsql/sqlmix.c
* src/rdd/dbfcdx/dbfcdx1.c
* src/rdd/dbfnsx/dbfnsx1.c
* src/rdd/dbfntx/dbfntx1.c
* src/rdd/dbsql.c
* src/rdd/workarea.c
* cleaned HB_IT_* usage
* contrib/rddads/ads1.c
! fixed typo in low level code of ordDescend() / DBOI_ISDESC,
now ordDescend() should work with ADS* RDDs just like with
native RDDs
* contrib/hbfoxpro/relfunc.c
! fixed typo in Between() function - thanks to Petr Chorney
* src/rtl/gtwvt/gtwvt.c
! added workaround for keyboard drivers which sets CTRL key modifier
flag when only ALTGR is pressed - thanks to Maurizio la Cecilia
This commit is contained in:
@@ -1565,7 +1565,7 @@ static HB_ERRCODE sqlmixOrderCreate( SQLMIXAREAP pArea, LPDBORDERCREATEINFO pOrd
|
||||
switch( hb_itemType( pResult ) )
|
||||
{
|
||||
case HB_IT_STRING:
|
||||
case HB_IT_STRING | HB_IT_MEMO:
|
||||
case HB_IT_MEMO:
|
||||
bType = 'C';
|
||||
uiLen = ( HB_USHORT ) hb_itemGetCLen( pResult );
|
||||
if( uiLen > MIX_MAXKEYLEN )
|
||||
@@ -1650,7 +1650,7 @@ static HB_ERRCODE sqlmixOrderCreate( SQLMIXAREAP pArea, LPDBORDERCREATEINFO pOrd
|
||||
SELF_GOTO( &pArea->sqlarea.area, ulRecNo );
|
||||
return HB_FAILURE;
|
||||
}
|
||||
if( hb_itemType( pArea->sqlarea.area.valResult ) != HB_IT_LOGICAL )
|
||||
if( ( hb_itemType( pArea->sqlarea.area.valResult ) & HB_IT_LOGICAL ) == 0 )
|
||||
{
|
||||
hb_itemRelease( pArea->sqlarea.area.valResult );
|
||||
pArea->sqlarea.area.valResult = 0;
|
||||
@@ -1750,7 +1750,7 @@ static HB_ERRCODE sqlmixOrderInfo( SQLMIXAREAP pArea, HB_USHORT uiIndex, LPDBORD
|
||||
pArea->sqlarea.area.valResult = NULL;
|
||||
if( SELF_EVALBLOCK( &pArea->sqlarea.area, pForItem ) == HB_SUCCESS )
|
||||
{
|
||||
if( hb_itemType( pArea->sqlarea.area.valResult ) == HB_IT_LOGICAL )
|
||||
if( hb_itemType( pArea->sqlarea.area.valResult ) & HB_IT_LOGICAL )
|
||||
{
|
||||
pTag->szForExpr = hb_strdup( pForExpr );
|
||||
pTag->pForItem = pForItem;
|
||||
|
||||
Reference in New Issue
Block a user