Android: Compress an if statement in FolderBrowser

This commit is contained in:
Lioncash 2014-11-14 13:03:51 -05:00
parent d8b673e864
commit 4fe8bb1ca7

View File

@ -144,14 +144,7 @@ public final class FolderBrowser extends ListFragment
{ {
String isoPath = NativeLibrary.GetConfig("Dolphin.ini", "General", "ISOPath" + i, ""); String isoPath = NativeLibrary.GetConfig("Dolphin.ini", "General", "ISOPath" + i, "");
if (isoPath.equals(currentDir.getPath())) pathNotPresent = !isoPath.equals(currentDir.getPath());
{
pathNotPresent = false;
}
else
{
pathNotPresent = true;
}
} }
// User doesn't have this path in the config, so add it. // User doesn't have this path in the config, so add it.