summaryrefslogtreecommitdiffstats
path: root/uemis-downloader.c
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-02-04 08:31:45 +1100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-02-04 08:31:45 +1100
commitdb05dd78f3cadaea32e260f68ad50e1c0da21526 (patch)
tree79ad02d839358b6581e0a3bdaaee2ffb69343007 /uemis-downloader.c
parent3a3880cf256ec669b9d597a37e54bb106dd928f8 (diff)
downloadsubsurface-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