*** empty log message ***
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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++;
|
||||
|
||||
Reference in New Issue
Block a user