Skip to content

Commit 74f4ee7

Browse files
committed
Fixed legacy call in utility
1 parent 4b7b71d commit 74f4ee7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utility/mapcode.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ int main(const int argc, const char **argv) {
417417
double lon;
418418

419419
// Get the territory context.
420-
int context = convertTerritoryIsoNameToCode(defaultTerritory, 0);
420+
int context = getTerritoryCode(defaultTerritory, 0);
421421

422422
// Decode every Mapcode.
423423
for (int i = 3; i < argc; ++i) {

0 commit comments

Comments
 (0)