From dc1e691ea8e70778d6559366d3e6372b31fe0bf5 Mon Sep 17 00:00:00 2001 From: Henrik Rydgard Date: Fri, 11 Apr 2014 21:21:52 +0200 Subject: [PATCH] Remove unnecessary check for '!' in path browser --- file/path.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/file/path.cpp b/file/path.cpp index a6208d3ce8..d50a64f237 100644 --- a/file/path.cpp +++ b/file/path.cpp @@ -39,9 +39,6 @@ void PathBrowser::GetListing(std::vector &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 == "..") {