Ron, After 3 back to back family issues to deal with and a major Raid problem, I am slowly getting back up to speed.
The original intent of that code was from me as far as I recall, but I don't remember the bug being part of the deal. There is some Compatability issue it is meant to emulate related to a GET. So - unless Przemek knows what's up, I'll have a look soon. Paul > > > Hi, > > > > Does anyone knows the intention behind line 454 of hbgtcore.c: > > > > if( nPos >= HB_CLR_ENHANCED && nPos < HB_CLR_UNSELECTED && > > *piColorCount > HB_CLR_UNSELECTED ) > > pColors[ HB_CLR_UNSELECTED ] = pColors[ HB_CLR_ENHANCED ]; > > > > It appears to cause the following bug: > > > > //------------------------------------------------------// > > PROCEDURE Main() > > SetColor( "W+/B, N/R, N/N, N/N, N/W" ) > > ? 1, SetColor() > > > > // This SetColor() wrongly overrides the 5th setting of SetColor()! > > SetColor( "W+/B" ) > > ? 2, SetColor() > > RETURN > > //------------------------------------------------------// > > > > Ron > > > >------------------------------------------------------------------------------ >This SF.net email is sponsored by: >SourcForge Community >SourceForge wants to tell your story. >http://p.sf.net/sfu/sf-spreadtheword >_______________________________________________ >xHarbour-developers mailing list >xHarbour-developers@lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/xharbour-developers ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ xHarbour-developers mailing list xHarbour-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xharbour-developers