Skip to content

Commit a6471cb

Browse files
committed
Fix setting address' longitude field
1 parent cff96dc commit a6471cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/org/microg/nlp/backend/nominatim/BackendService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ private Address parseResponse(Locale locale, JSONObject result) throws JSONExcep
116116
}
117117
Address address = new Address(locale);
118118
address.setLatitude(result.getDouble(WIRE_LATITUDE));
119-
address.setLatitude(result.getDouble(WIRE_LONGITUDE));
119+
address.setLongitude(result.getDouble(WIRE_LONGITUDE));
120120

121121
int line = 0;
122122
JSONObject a = result.getJSONObject(WIRE_ADDRESS);

0 commit comments

Comments
 (0)