Code: Select all
int TotalColors=0; // this MUST be signed.[color=red]
if (ColorOverride>0xFF000000) ColorOverride^=0xFF000000;
// Always wrap the output in the default override color.
pchar_out_string_position+=InsertColor(&out[pchar_out_string_position],ColorOverride);
CurrentColor=ColorOverride;[/color]
while(in[pchar_in_string_position]!=0 && pchar_out_string_position<maxlen)

