Remove unnecessary check for '!' in path browser

This commit is contained in:
Henrik Rydgard committed 2014-04-11 21:22:08 +02:00
1 parent 1167f20d14
commit dc1e691ea8
1 file changed
-3
-3
View File
@@ -39,9 +39,6 @@ void PathBrowser::GetListing(std::vector<FileInfo> &fileInfo, const char *filter
// TODO: Support paths like "../../hello"
void PathBrowser::Navigate(const std::string &path) {
if (path[0] == '!')
return;
if (path == ".")
return;
if (path == "..") {