diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2013-02-04 08:31:45 +1100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-02-04 08:31:45 +1100 |
commit | db05dd78f3cadaea32e260f68ad50e1c0da21526 (patch) | |
tree | 79ad02d839358b6581e0a3bdaaee2ffb69343007 /uemis-downloader.c | |
parent | 3a3880cf256ec669b9d597a37e54bb106dd928f8 (diff) | |
download | subsurface-db05dd78f3cadaea32e260f68ad50e1c0da21526.tar.gz |
Better fix for translated cardinal directions
The previous attempt in commit f305c5c83fe1 ("Correctly parse translated
cardinal directions") suffered from a bit of false advertising in that it
wasn't, actually, "correct". It made silly assumptions about the length of
the translated strings being 1 and also forgot the middle part of the
algorithm where we use the appearance of 'E' or 'W' (and their translated
brethren) as indication that there are no minutes for the the latitude.
Hopefully this version does better.
Reported-by: Sergey Starosek <sergey.starosek@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'uemis-downloader.c')
0 files changed, 0 insertions, 0 deletions