From f85f09dd7cd524d0bc059c96a053d0b1c0671c78 Mon Sep 17 00:00:00 2001 From: Paul Tucker Date: Wed, 18 Aug 1999 18:57:40 +0000 Subject: [PATCH] *** empty log message *** --- harbour/source/rtl/gtapi.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/harbour/source/rtl/gtapi.c b/harbour/source/rtl/gtapi.c index a2931f0881..0ac46c922d 100644 --- a/harbour/source/rtl/gtapi.c +++ b/harbour/source/rtl/gtapi.c @@ -620,7 +620,7 @@ int hb_gtSetSnowFlag(BOOL bNoSnow) int hb_gtWrite(char * fpStr, ULONG length) { - int iRow, iCol, iMaxCol, iMaxRow, iTemp; + int iRow, iCol, iMaxCol, iMaxRow; ULONG size = length; char attr=_Color[s_uiColorIndex] & 0xff, *fpPointer = fpStr; @@ -652,6 +652,8 @@ int hb_gtWrite(char * fpStr, ULONG length) position to account for the prescroll */ if (iRow > iMaxRow) { + int iTemp; + hb_gtScroll(0, 0, iMaxRow, iMaxCol, iRow - iMaxRow, 0); iTemp = s_uiCurrentRow - (iRow - iMaxRow); if (iTemp < 0)