summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--navit/android/src/org/navitproject/navit/Navit.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/navit/android/src/org/navitproject/navit/Navit.java b/navit/android/src/org/navitproject/navit/Navit.java
index a22dbf934..884000083 100644
--- a/navit/android/src/org/navitproject/navit/Navit.java
+++ b/navit/android/src/org/navitproject/navit/Navit.java
@@ -626,7 +626,7 @@ public class Navit extends Activity
if(resultCode == RESULT_OK) {
String newDir = data.getStringExtra(FileBrowserActivity.returnDirectoryParameter);
Log.d(TAG, "selected path= "+newDir);
- if(!newDir.contains("/navit/"))
+ if(!newDir.contains("/navit"))
newDir = newDir+"/navit/";
else
newDir = newDir+"/";