Merge pull request #855 from Zahnstocher/substring-patch
Remove wrong substring
This commit is contained in:
commit
462e92ca3c
1 changed files with 1 additions and 2 deletions
|
@ -476,8 +476,7 @@ public class GeoIntentActivity extends OsmandListActivity {
|
|||
.replaceAll(" ", ",");
|
||||
System.out.println(query);
|
||||
//String is split on each comma
|
||||
String[] s = query.substring(query
|
||||
.indexOf("q=") + 2).split(",");
|
||||
String[] s = query.split(",");
|
||||
|
||||
elements = new ArrayList<String>();
|
||||
for (int i = 0; i<s.length; i++) {
|
||||
|
|
Loading…
Reference in a new issue