summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--gui/fileselector.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/fileselector.cpp b/gui/fileselector.cpp
index cd6e87f54..7d896e670 100644
--- a/gui/fileselector.cpp
+++ b/gui/fileselector.cpp
@@ -803,7 +803,7 @@ int GUIFileSelector::GetFileList(const std::string folder)
if (mShowNavFolders || (data.fileName != "." && data.fileName != TW_FILESELECTOR_UP_A_LEVEL))
mFolderList.push_back(data);
}
- else if (data.fileType == DT_REG)
+ else if (data.fileType == DT_REG || data.fileType == DT_LNK || data.fileType == DT_BLK)
{
if (mExtn.empty() || (data.fileName.length() > mExtn.length() && data.fileName.substr(data.fileName.length() - mExtn.length()) == mExtn))
{