Skip to content

Commit

Permalink
When scanning files in the current directoy, skip files that are alre…
Browse files Browse the repository at this point in the history
…ady scanned (by scrolling over it, or because it was inside a solid compressed file), but was not a valid module.
  • Loading branch information
mywave82 committed Jan 6, 2024
1 parent f77cbf9 commit 2a153f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion filesel/pfilesel.c
Original file line number Diff line number Diff line change
Expand Up @@ -3278,7 +3278,7 @@ signed int fsFileSelect(void)
struct modlistentry *scanm;
if ((scanm=modlist_get(currentdir, scanposf++)))
{
if (scanm->file && (scanm->flags & MODLIST_FLAG_ISMOD))
if (scanm->file && (scanm->flags & MODLIST_FLAG_ISMOD) && (!(scanm->flags & MODLIST_FLAG_SCANNED)))
{
if (!mdbInfoIsAvailable(scanm->mdb_ref))
{
Expand Down

0 comments on commit 2a153f9

Please sign in to comment.