Small bugs related to translation

Sergey Starosek sergey.starosek at gmail.com
Mon Feb 4 12:05:27 PST 2013


On Mon, Feb 04, 2013 at 08:38:40AM +1100, Dirk Hohndel wrote:
> Sergey Starosek <sergey.starosek at gmail.com> writes:
> >>> Ok, this is now fixed. Please test.
> >>
> >> Hmm, this might be easy to misunderstand since in an earlier response I
> >> said I would stop translating NSWE... instead I actually fixed it so
> >> that the location parsing code should magically DTRT (Do The Right
> >> Thing).
> 
> Ok, I now pushed a different fix that hopefully does better.
> Can you test that one, please?

It does work for cardinal directions in capitals (as translated) but not
for lowercase. I guess it's not correct to do strncasecmp() against
multibyte UTF-8 symbols.

Sergey


More information about the subsurface mailing list