2015-09-07 16:28 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)

* src/rtl/gtos2/gtos2.c
    * added missing modification in previous commit
This commit is contained in:
Przemysław Czerpak
2015-09-07 16:28:19 +02:00
parent db664c6f61
commit c2b2b5df90
2 changed files with 12 additions and 0 deletions

View File

@@ -10,6 +10,10 @@
* Change, ! Fix, % Optimization, + Addition, - Removal, ; Comment
*/
2015-09-07 16:28 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* src/rtl/gtos2/gtos2.c
* added missing modification in previous commit
2015-09-07 16:19 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* src/rtl/gtos2/gtos2.c
+ added support for HB_GTI_CODEPAGE

View File

@@ -564,12 +564,20 @@ static void hb_gt_os2_Init( PHB_GT pGT, HB_FHANDLE hFilenoStdin, HB_FHANDLE hFil
is equal to 437
*/
/* 2015-09-07 If someone wants to use CP437 regardless of default OS2
settings then he should add to his code:
hb_gtInfo( HB_GTI_CODEPAGE, 437 )
[druzus]
*/
VioGetCp( 0, &s_usOldCodePage, 0 );
#if 0
/* If I could not set codepage 437 I reset previous codepage,
maybe I do not need to do this */
if( VioSetCp( 0, 437, 0 ) != NO_ERROR )
VioSetCp( 0, s_usOldCodePage, 0 );
#endif
hb_gt_os2_GetCursorPosition( &s_iCurRow, &s_iCurCol );
s_iCursorStyle = hb_gt_os2_GetCursorStyle();