diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 654b05f586..7148bb3194 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -17,6 +17,14 @@ past entries belonging to author(s): Viktor Szakats. */ +2009-07-13 11:30 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) + * contrib/gtqtc/gtqtc.cpp + ! BYTE => int. + * contrib/gtqtc/tests/demoqtc.prg + ! Removed Windows specific stuff. + + /* What is the status of this lib? It is still not included in default build ! */ + 2009-07-13 16:18 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * source/rtl/gtwin/gtwin.c * source/rtl/gtwvt/gtwvt.h diff --git a/harbour/contrib/gtqtc/gtqtc.cpp b/harbour/contrib/gtqtc/gtqtc.cpp index 8c548ed50f..a3f979b7da 100644 --- a/harbour/contrib/gtqtc/gtqtc.cpp +++ b/harbour/contrib/gtqtc/gtqtc.cpp @@ -1453,7 +1453,8 @@ void DrawingArea::copyTextOnClipboard( void ) { for( icol = left; icol <= right; icol++ ) { - BYTE bColor, bAttr; + int bColor; + BYTE bAttr; USHORT usChar; if( !HB_GTSELF_GETSCRCHAR( pWVT->pGT, irow, icol, &bColor, &bAttr, &usChar ) ) @@ -1512,7 +1513,8 @@ void DrawingArea::redrawBuffer( const QRect & rect ) USHORT usChar; int iCol, iRow, len, iTop, startCol; - BYTE bColor, bAttr, bOldColor = 0, bOldAttr = 0; + int bColor; + BYTE bAttr, bOldColor = 0, bOldAttr = 0; char text[ WVT_MAX_COLS ]; QRect rcRect = hb_gt_wvt_QGetColRowFromXYRect( pWVT, rect ); @@ -1634,7 +1636,8 @@ void DrawingArea::displayCell( int iRow, int iCol ) painter.setFont( font ); USHORT usChar; - BYTE bAttr, bColor = 0; + BYTE bAttr; + int bColor = 0; if( HB_GTSELF_GETSCRCHAR( pGT, iRow, iCol, &bColor, &bAttr, &usChar ) ) { diff --git a/harbour/contrib/gtqtc/tests/demoqtc.prg b/harbour/contrib/gtqtc/tests/demoqtc.prg index 5cfeaa1561..e9c4836415 100644 --- a/harbour/contrib/gtqtc/tests/demoqtc.prg +++ b/harbour/contrib/gtqtc/tests/demoqtc.prg @@ -67,7 +67,7 @@ FUNCTION Main() ENDIF #if 0 IF nKey != 0 - hb_ToOutDebug( "nKey %i %s", nKey, chr( nKey ) ) + hb_OutDebug( "nKey %i %s", nKey, chr( nKey ) ) ENDIF #endif IF nn < 80 @@ -445,7 +445,8 @@ STATIC FUNCTION BrwHandleKey( oBrowse, nKey, lEnd ) FUNCTION Qtc_Out( cMsg ) - RETURN Qtc_OutputDebugString( cMsg ) + //RETURN Qtc_OutputDebugString( cMsg ) + RETURN NIL /*----------------------------------------------------------------------*/