Update FileBrowser.cpp
Fixed issue #115 Alt-L writes all files in directory to autoswap.lst, not selected files
This commit is contained in:
parent
cb04179fc9
commit
bc030fe699
1 changed files with 4 additions and 2 deletions
|
@ -1259,9 +1259,11 @@ bool FileBrowser::MakeLST(const char* filenameLST)
|
||||||
FileBrowser::BrowsableList::Entry* entry = 0;
|
FileBrowser::BrowsableList::Entry* entry = 0;
|
||||||
u32 bytes;
|
u32 bytes;
|
||||||
|
|
||||||
for (unsigned index = 0; index < folder.entries.size(); ++index)
|
BrowsableList& list = caddySelections.entries.size() > 1 ? caddySelections : folder;
|
||||||
|
|
||||||
|
for (unsigned index = 0; index < list.entries.size(); ++index)
|
||||||
{
|
{
|
||||||
entry = &folder.entries[index];
|
entry = &list.entries[index];
|
||||||
if (entry->filImage.fattrib & AM_DIR)
|
if (entry->filImage.fattrib & AM_DIR)
|
||||||
continue; // skip dirs
|
continue; // skip dirs
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue