2010-06-06 19:16 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)

* src/rtl/gtdos/gtdos.c
    ! Fixed C++ compilation (caused by BYTE -> HB_BYTE change)
This commit is contained in:
Viktor Szakats
2010-06-06 17:16:38 +00:00
parent 4809712e1b
commit 077fc4398e
2 changed files with 13 additions and 9 deletions

View File

@@ -17,6 +17,10 @@
past entries belonging to author(s): Viktor Szakats.
*/
2010-06-06 19:16 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/gtdos/gtdos.c
! Fixed C++ compilation (caused by BYTE -> HB_BYTE change)
2010-06-06 02:43 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
+ contrib/hbide/resources/go-bottom.png
+ contrib/hbide/resources/go-down.png
@@ -37,12 +41,12 @@
* contrib/hbide/ideedit.prg
* contrib/hbide/idefindreplace.prg
* contrib/hbide/idetools.prg
+ Extended: in addition to next/previous buttons to naviagte
+ Extended: in addition to next/previous buttons to naviagte
occurances of selected text, three more buttons are added:
"first", "last", occurance and "highlight all" occurances.
+ Implemented: macros parsing in "Parameters" list of
"Tools and Utilities" protocol. Currently following macros
+ Implemented: macros parsing in "Parameters" list of
"Tools and Utilities" protocol. Currently following macros
are parsed:
{source_fullname} => full sourcename of current edit instance
{source_name} => mere name of current edit instance

View File

@@ -244,22 +244,22 @@ static void hb_gt_dos_GetScreenSize( int * piRows, int * piCols )
}
#if !defined( __DJGPP__ )
static char FAR * hb_gt_dos_ScreenAddress( PHB_GT pGT )
static HB_BYTE FAR * hb_gt_dos_ScreenAddress( PHB_GT pGT )
{
char FAR * ptr;
HB_BYTE FAR * ptr;
HB_TRACE(HB_TR_DEBUG, ("hb_gt_dos_ScreenAddress(%p)", pGT));
#if defined( __WATCOMC__ ) && defined( __386__ )
if( HB_GTSELF_ISCOLOR( pGT ) )
ptr = ( char * ) ( 0xB800 << 4 );
ptr = ( HB_BYTE * )( 0xB800 << 4 );
else
ptr = ( char * )( 0xB000 << 4 );
ptr = ( HB_BYTE * )( 0xB000 << 4 );
#else
if( HB_GTSELF_ISCOLOR( pGT ) )
ptr = ( char FAR * ) MK_FP( 0xB800, 0x0000 );
ptr = ( HB_BYTE FAR * ) MK_FP( 0xB800, 0x0000 );
else
ptr = ( char FAR * ) MK_FP( 0xB000, 0x0000 );
ptr = ( HB_BYTE FAR * ) MK_FP( 0xB000, 0x0000 );
#endif
return ptr;