> #if defined(KICAD_GOST) // <- This place is a little strange.
>             if( Name2[ii] == ' ' )
> #else
>
>             if( Name2[ii] <= ' ' )   // <- This string execute by
> default
> #endif
>
>                 Name2[ii] = '~';
>     }
> Solving the problem might be:   if( (unsigned char)Name2[ii] <= ' ' ).


I think this is correct, and is probably the solution that the KICAD_GOST author
could have used.  I checked in a fix, which encapsulates the two places this was
being done into the new static function toUTFTildaText()

Please report any problems with it.

Dick


_______________________________________________
Mailing list: https://launchpad.net/~kicad-developers
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp

Reply via email to