From 41e8e36182526aadf70fb02da526ef51410e5d3c Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Wed, 12 Apr 2000 02:36:45 +0000 Subject: [PATCH] 20000412-04:39 GMT+1 Victor Szakats --- harbour/ChangeLog | 5 +++++ harbour/source/rtl/gtapi.c | 4 +--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 12082fdaf5..18151e8d17 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -1,3 +1,8 @@ +20000412-04:39 GMT+1 Victor Szakats + + * source/rtl/gtapi.c + + hb_gtGetColorStr() fixed. + 20000412-03:14 GMT+1 Victor Szakats * source/tools/ctmisc.prg diff --git a/harbour/source/rtl/gtapi.c b/harbour/source/rtl/gtapi.c index a964d3e9e6..43ae9863b0 100644 --- a/harbour/source/rtl/gtapi.c +++ b/harbour/source/rtl/gtapi.c @@ -415,7 +415,7 @@ USHORT hb_gtGetColorStr( char * pszColorString ) if( j == 0 ) { /* NOTE: When STRICT is on, Harbour will put both the "*" and "+" - chars to the first half of the colorspec (like "W+*/B"), + chars to the first half of the colorspec (like "W*+/B"), which is quite ugly, otherwise it will put the "+" to the first half and the "*" to the second (like "W+/B*"), which is how it should be done. [vszakats] */ @@ -438,8 +438,6 @@ USHORT hb_gtGetColorStr( char * pszColorString ) } #endif - nColor = ( s_Color[ i ] >> 4 ) & 7; - nColor = ( s_pColor[ uiColorIndex ] >> 4 ) & 7; } }