From 0e2a4fd75436cc736101f0ad5c13401b1a192262 Mon Sep 17 00:00:00 2001 From: Paul Tucker Date: Wed, 11 Aug 1999 22:16:41 +0000 Subject: [PATCH] *** empty log message *** --- harbour/ChangeLog | 4 ++++ harbour/source/rtl/gt/gtwin.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 59212d1055..a3aca8eefc 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -1,3 +1,7 @@ +19990811-18:00 EDT Paul Tucker + * source/rtl/gt/gtwin.c + * hb_gt_getRow/Col were using the wrong screen handle. + 19990811-14:30 EDT Paul Tucker * source/rtl/console.c * set binary mode on stanard files before intializing gt system. diff --git a/harbour/source/rtl/gt/gtwin.c b/harbour/source/rtl/gt/gtwin.c index bcec978c47..147a3a2235 100644 --- a/harbour/source/rtl/gt/gtwin.c +++ b/harbour/source/rtl/gt/gtwin.c @@ -333,7 +333,7 @@ char hb_gt_Col(void) CONSOLE_SCREEN_BUFFER_INFO csbi; LOG("WhereX"); - GetConsoleScreenBufferInfo(HOutput, &csbi); + GetConsoleScreenBufferInfo(HCursor, &csbi); return csbi.dwCursorPosition.X; } @@ -342,7 +342,7 @@ char hb_gt_Row(void) CONSOLE_SCREEN_BUFFER_INFO csbi; LOG("WhereY"); - GetConsoleScreenBufferInfo(HOutput, &csbi); + GetConsoleScreenBufferInfo(HCursor, &csbi); return csbi.dwCursorPosition.Y; }