*** empty log message ***

This commit is contained in:
Paul Tucker
1999-09-08 16:10:51 +00:00
parent b40b9b2105
commit 494ed4124a
2 changed files with 16 additions and 0 deletions

View File

@@ -1,3 +1,8 @@
19990908-11:56 EDT Paul Tucker <ptucker@sympatico.ca>
* source/rtl/gtapi.c
* modified SetColor to accept a null pointer, and do nothing
* changed so that "" resets colors to Clipper default.
19990908-17:00 GMT+2 Ryszard Glab <rglab@imid.med.pl>
*source/compiler/harbour.y

View File

@@ -393,6 +393,17 @@ int hb_gtSetColorStr( char * fpColorString )
int nColor = 0;
int nCount = -1, i = 0, y;
if( !fpColorString )
return 1;
if( ! *fpColorString )
{
s_Color[0] = 0x7;
s_Color[1] = 0x70;
s_Color[2] = 0;
s_Color[3] = 0;
s_Color[4] = 0x7;
}
do
{
c = *fpColorString++;