summaryrefslogtreecommitdiffstats
path: root/gui/fileselector.cpp
diff options
context:
space:
mode:
authorDees_Troy <dees_troy@teamw.in>2012-09-27 02:19:06 +0200
committerDees_Troy <dees_troy@teamw.in>2012-09-27 02:19:06 +0200
commitaf4d0ce08bc134cf7ef18f3682b720c84891a73d (patch)
tree1a5ed47ef02a2d4a9b9ae0e47068bd9d86edda6a /gui/fileselector.cpp
parentHandle mountable boot partitions (diff)
downloadandroid_bootable_recovery-af4d0ce08bc134cf7ef18f3682b720c84891a73d.tar
android_bootable_recovery-af4d0ce08bc134cf7ef18f3682b720c84891a73d.tar.gz
android_bootable_recovery-af4d0ce08bc134cf7ef18f3682b720c84891a73d.tar.bz2
android_bootable_recovery-af4d0ce08bc134cf7ef18f3682b720c84891a73d.tar.lz
android_bootable_recovery-af4d0ce08bc134cf7ef18f3682b720c84891a73d.tar.xz
android_bootable_recovery-af4d0ce08bc134cf7ef18f3682b720c84891a73d.tar.zst
android_bootable_recovery-af4d0ce08bc134cf7ef18f3682b720c84891a73d.zip
Diffstat (limited to 'gui/fileselector.cpp')
-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))
{