Skip to content

Commit 004fda1

Browse files
committed
Fixed mapcode_legacy.h errors
1 parent a964e93 commit 004fda1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mapcodelib/mapcode_legacy.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ extern "C" {
2929
/**
3030
* List of #defines to support legacy systems.
3131
*/
32-
#define decodeMapcodeToLatLon(latDeg, lonDeg, mapcode, territory) decodeUtf8MapcodeToLatLon(latDeg, lonDeg, NULL, mapcode, territory)
33-
#define compareWithMapcodeFormat(utf8, canContainTerritory) compareUtf8WithMapcodeFormat(utf8)
32+
#define decodeMapcodeToLatLon(latDeg, lonDeg, mapcode, territory) decodeMapcodeToLatLonUtf(latDeg, lonDeg, mapcode, territory, NULL)
33+
#define compareWithMapcodeFormat(utf8, canContainTerritory) compareWithMapcodeFormatUtf8(utf8)
3434

3535
#define convertTerritoryIsoNameToCode getTerritoryCode
3636
#define coord2mc(results, lat, lon, territory) encodeLatLonToMapcodes_Deprecated(results, lat, lon,territory, 0)

0 commit comments

Comments
 (0)