# HG changeset patch # User Xeli # Date 1312933857 -7200 # Node ID 7f3a391a66fbdd4010e8bf112c4440ed1cead666 # Parent 3d7ac2b3b703e29a21c3f9d6a1ea8bf68910d108 typo on the nullpointer check diff -r 3d7ac2b3b703 -r 7f3a391a66fb project_files/Android-build/SDL-android-project/src/org/hedgewars/mobile/EngineProtocol/FrontendDataUtils.java --- a/project_files/Android-build/SDL-android-project/src/org/hedgewars/mobile/EngineProtocol/FrontendDataUtils.java Wed Aug 10 01:22:52 2011 +0200 +++ b/project_files/Android-build/SDL-android-project/src/org/hedgewars/mobile/EngineProtocol/FrontendDataUtils.java Wed Aug 10 01:50:57 2011 +0200 @@ -153,7 +153,7 @@ File teamsDir = new File(c.getFilesDir().getAbsolutePath() + '/' + Team.DIRECTORY_TEAMS); File[] teamFileNames = teamsDir.listFiles(); - if(teamsDir != null){ + if(teamFileNames != null){ for(File s : teamFileNames){ Team t = Team.getTeamFromXml(s.getAbsolutePath()); if(t != null){