From 2d0427eb6cd658e80c6da4fb2c599e8c87b3942f Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Thu, 21 Oct 1999 20:31:56 +0000 Subject: [PATCH] 19991021-22:18 GMT+1 --- harbour/ChangeLog | 5 +++++ harbour/source/rtl/gtapi.c | 2 ++ 2 files changed, 7 insertions(+) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 12f2f00bec..a9395e4321 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -1,3 +1,8 @@ +19991021-22:18 GMT+1 Victor Szel + * source/rtl/gtapi.c + ! hb_gtSetColorStr() now resets the ColorSelect() value to STANDARD, + like in Clipper. + 19991021-21:08 GMT+1 Victor Szel * source/rtl/gt/gtwin.c source/rtl/dates.c diff --git a/harbour/source/rtl/gtapi.c b/harbour/source/rtl/gtapi.c index f2cca165fd..5db8cac77a 100644 --- a/harbour/source/rtl/gtapi.c +++ b/harbour/source/rtl/gtapi.c @@ -447,6 +447,8 @@ USHORT hb_gtGetColorStr( char * fpColorString ) strcpy( fpColorString, sColors ); hb_xfree( sColors ); + hb_gtColorSelect( CLR_STANDARD ); + return 0; }