Skip to content

Commit

Permalink
Merge pull request #4399 from maron2000/Fix_blocek
Browse files Browse the repository at this point in the history
Fix launching Blocek issue (#4385)
  • Loading branch information
joncampbell123 authored Aug 6, 2023
2 parents 66ec278 + 9bce448 commit 3441cd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dos/dos_files.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,7 @@ bool DOS_FindFirst(const char * search,uint16_t attr,bool fcb_findfirst) {
if (!DOS_MakeName(search,fullsearch,&drive,attr == DOS_ATTR_VOLUME)) return false;
//Check for devices. FindDevice checks for leading subdir as well
bool device = false;
if (attr & DOS_ATTR_DEVICE)
//if (attr & DOS_ATTR_DEVICE) /* FIX_ME: This line deleted to fix launching Blocek editor (Issue #4385), revert this if this induces other errors */
device = DOS_FindDevice(search) != DOS_DEVICES;

/* Split the search in dir and pattern */
Expand Down

0 comments on commit 3441cd1

Please sign in to comment.