enable opening directories with a trailing backslash
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@731
This commit is contained in:
parent
d768369be9
commit
84daa51d7e
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ DIR * opendir(const char *dirname) {
|
|||
|
||||
/* Stash the directory name */
|
||||
strcpy(dir.pathName,dirname);
|
||||
strcat(dir.pathName,"*.*");
|
||||
strcat(dir.pathName,"\\*.*");
|
||||
|
||||
/* set the handle to invalid and set the firstTime flag */
|
||||
dir.handle = INVALID_HANDLE_VALUE;
|
||||
|
|
Loading…
Add table
Reference in a new issue