forked from organicmaps/organicmaps
[android] Review fixes
This commit is contained in:
parent
3363aff467
commit
400165d181
1 changed files with 3 additions and 3 deletions
|
@ -670,9 +670,9 @@ Java_com_mapswithme_maps_Framework_nativeGetDistanceAndAzimuthFromLatLon(
|
|||
JNIEXPORT jobject JNICALL
|
||||
Java_com_mapswithme_maps_Framework_nativeFormatLatLon(JNIEnv * env, jclass, jdouble lat, jdouble lon, jboolean useDMSFormat)
|
||||
{
|
||||
return jni::ToJavaString(env,
|
||||
(useDMSFormat ? measurement_utils::FormatLatLonAsDMS(lat, lon, 2)
|
||||
: measurement_utils::FormatLatLon(lat, lon, true, 6)));
|
||||
return jni::ToJavaString(
|
||||
env, (useDMSFormat ? measurement_utils::FormatLatLonAsDMS(lat, lon, 2)
|
||||
: measurement_utils::FormatLatLon(lat, lon, true /* withSemicolon */, 6)));
|
||||
}
|
||||
|
||||
JNIEXPORT jobjectArray JNICALL
|
||||
|
|
Loading…
Add table
Reference in a new issue