[mapcode] 10/32: Fixed bug in arg for -e

Stefan Fritsch sf at moszumanska.debian.org
Wed Nov 2 23:27:15 UTC 2016


This is an automated email from the git hooks/post-receive script.

sf pushed a commit to annotated tag v1.33
in repository mapcode.

commit 3db12ff3667a2e977a6c36e9547f4ad8689e6e7f
Author: Rijn Buve <rijn at buve.nl>
Date:   Thu Aug 21 11:23:51 2014 +0200

    Fixed bug in arg for -e
---
 mapcode.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mapcode.c b/mapcode.c
index 3e3d72e..9b40973 100644
--- a/mapcode.c
+++ b/mapcode.c
@@ -114,7 +114,7 @@ int main(const int argc, const char** argv)
         const double lon = atof(argv[3]);
 
         int context = 0;
-        if (argc == 4) {
+        if (argc == 5) {
             context = text2tc(argv[4], 0);
         }
         const char* results[32];

-- 
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