]> git.zerfleddert.de Git - FreeShisen/commitdiff
fix condition for log.d
authorgitknilch <gitknilch@cwde.de>
Sat, 6 Apr 2013 19:12:42 +0000 (21:12 +0200)
committergitknilch <gitknilch@cwde.de>
Sat, 6 Apr 2013 19:12:42 +0000 (21:12 +0200)
Change-Id: I3724f5d62a181426c6514cc33c5eba5913fc4ad9
Signed-off-by: gitknilch <gitknilch@cwde.de>
src/de/cwde/freeshisen/ShisenSho.java

index eb7aee384f0922770ffbc20708ceeec4c65e7264..f24f0c07a623eac9182f6728457922233adf857f 100644 (file)
@@ -118,10 +118,12 @@ public class ShisenSho extends Application {
                        view.loadTileset();
                }
 
                        view.loadTileset();
                }
 
-               if (needsReset && (view != null) && (activity != null)) {
-                       activity.onOptionsChanged();
-               } else {
-                       Log.d("ShisenSho", "Preferences changed, but no view or activity online - huh?");
+               if (needsReset) {
+                       if ((view != null) && (activity != null)) {
+                               activity.onOptionsChanged();
+                       } else {
+                               Log.d("ShisenSho", "Preferences changed, but no view or activity online - huh?");
+                       }
                }
 
        }
                }
 
        }
Impressum, Datenschutz