project_files/Android-build/SDL-android-project/src/org/hedgewars/hedgeroid/SettingsFragment.java
changeset 7586 33924ff4af50
parent 7584 7831c84cc644
child 10017 de822cd3df3a
--- a/project_files/Android-build/SDL-android-project/src/org/hedgewars/hedgeroid/SettingsFragment.java	Mon Aug 20 21:05:57 2012 +0200
+++ b/project_files/Android-build/SDL-android-project/src/org/hedgewars/hedgeroid/SettingsFragment.java	Wed Aug 22 01:30:56 2012 +0200
@@ -191,7 +191,7 @@
 			stateManager.changeMapTheme(themes.get(position));
 			String theme = themes.get(position);
 			try {
-				File iconFile = new File(FileUtils.getDataPathFile(getActivity()), "Themes/" + theme + "/icon@2X.png");
+				File iconFile = FileUtils.getDataPathFile(getActivity(), "Themes", theme, "icon@2X.png");
 				Drawable themeIconDrawable = Drawable.createFromPath(iconFile.getAbsolutePath());
 				themeIcon.setImageDrawable(themeIconDrawable);
 			} catch (FileNotFoundException e) {