See ChangeLog entry 19990602-16:00 EDT David G. Holm <dholm@jsd-llc.com>

This commit is contained in:
David G. Holm
1999-06-02 21:06:38 +00:00
parent 87867b8a5b
commit 3b38f61a1c
3 changed files with 12 additions and 2 deletions

View File

@@ -1,5 +1,13 @@
19990602-16:00 EDT David G. Holm <dholm@jsd-llc.com>
* source/rtl/console.c
- OS/2 requires that stdout and stderr be flushed in order to stay
synchronized with the GT API
* source/rtl/gt/gtos2.c
- The gtPuts function was using strlen() on the text buffer instead
of using the text length parameter
19990602-14:50 EDT David G. Holm <dholm@jsd-llc.com>
* makefile.b31
* makefile.b31
- Added itemapi.h as dependancy for arrays.obj
* makefile.icc
- Added new GT string modules

View File

@@ -111,6 +111,7 @@ static void hb_outstd( char * fpStr, WORD uiLen )
char * fpPtr = fpStr;
while( uiCount-- )
printf( "%c", *fpPtr++ );
fflush( stdout );
#ifdef USE_GTAPI
if( isatty( fileno( stdout ) ) )
{
@@ -128,6 +129,7 @@ static void hb_outerr( char * fpStr, WORD uiLen )
char * fpPtr = fpStr;
while( uiCount-- )
fprintf( stderr, "%c", *fpPtr++ );
fflush( stderr );
#ifdef USE_GTAPI
if( isatty( fileno( stdout ) ) )
{

View File

@@ -100,7 +100,7 @@ int gtGetCursorStyle(void)
void gtPuts(char x, char y, char attr, char *str, int len)
{
VioWrtCharStrAtt(str, (USHORT) strlen(str), (USHORT) y, (USHORT) x, (PBYTE) &attr, 0);
VioWrtCharStrAtt(str, (USHORT) len, (USHORT) y, (USHORT) x, (PBYTE) &attr, 0);
}
void gtGetText(char x1, char y1, char x2, char y2, char *dest)