[PATCH 3/3] Correctly parse translated cardinal directions

Sergey Starosek sergey.starosek at gmail.com
Sun Feb 3 04:10:47 PST 2013


Along with comparing to translated strings, text pointer has to be
incremented by the length of these strings, not chars.

Not sure whether optional minutes parsing logic has to be modified
since it uses untranslated 'E' and 'W' char constants.

Signed-off-by: Sergey Starosek <sergey.starosek at gmail.com>
---
 info.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-Correctly-parse-translated-cardinal-directions.patch
Type: text/x-patch
Size: 1059 bytes
Desc: not available
URL: <http://lists.hohndel.org/pipermail/subsurface/attachments/20130203/1e3247e9/attachment.bin>


More information about the subsurface mailing list