Skip to content

Commit 3db12ff

Browse files
committed
Fixed bug in arg for -e
1 parent 78bed3d commit 3db12ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mapcode.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ int main(const int argc, const char** argv)
114114
const double lon = atof(argv[3]);
115115

116116
int context = 0;
117-
if (argc == 4) {
117+
if (argc == 5) {
118118
context = text2tc(argv[4], 0);
119119
}
120120
const char* results[32];

0 commit comments

Comments
 (0)