Fixed a small bug for when detecting Themes hedgeroid
authorXeli
Thu, 14 Jul 2011 15:52:10 +0200
branchhedgeroid
changeset 5428 5d0c5f7a9339
parent 5424 0627ac9bd878
child 5431 356b4fbd4c48
Fixed a small bug for when detecting Themes
project_files/Android-build/SDL-android-project/src/org/hedgewars/mobile/Utils.java
--- a/project_files/Android-build/SDL-android-project/src/org/hedgewars/mobile/Utils.java	Thu Jul 14 15:48:27 2011 +0200
+++ b/project_files/Android-build/SDL-android-project/src/org/hedgewars/mobile/Utils.java	Thu Jul 14 15:52:10 2011 +0200
@@ -68,7 +68,7 @@
 			}
 			return false;
 		}else{
-			throw new IllegalArgumentException("Not a directory.. f = " + f.getAbsolutePath());
+			return false;
 		}
 	}