[mapcode] 17/56: Fixed bug in coder
Stefan Fritsch
sf at moszumanska.debian.org
Wed Nov 2 23:27:26 UTC 2016
This is an automated email from the git hooks/post-receive script.
sf pushed a commit to annotated tag v2.0.2
in repository mapcode.
commit 7eb0d68d927460c8f20a48de58aaec9e3a43a3bd
Author: Rijn Buve <rijn at buve.nl>
Date: Tue May 19 12:25:53 2015 +0200
Fixed bug in coder
---
mapcodelib/mapcoder.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mapcodelib/mapcoder.c b/mapcodelib/mapcoder.c
index 68675ac..68b577c 100644
--- a/mapcodelib/mapcoder.c
+++ b/mapcodelib/mapcoder.c
@@ -1081,7 +1081,7 @@ int unpack_if_alldigits(char *input) // returns 1 if unpacked, 0 if left unchang
{
if (aonly) // v1.50 encoded only with A's
{
- int v = (s[0]=='A' || s[0]=='a' ? 31 : decode_chars[s[0]]) * 32 + (s[1]=='A' || s[0]=='a' ? 31 : decode_chars[s[1]]);
+ int v = (s[0]=='A' || s[0]=='a' ? 31 : decode_chars[s[0]]) * 32 + (s[1]=='A' || s[1]=='a' ? 31 : decode_chars[s[1]]);
*input = '0'+(v/100);
s[0]= '0'+((v/10)%10);
s[1]= '0'+(v%10);
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/mapcode.git
More information about the Pkg-grass-devel
mailing list