1
0
Fork 0

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:
Sjoerd van der Berg 2003-03-10 10:19:00 +00:00
parent d768369be9
commit 84daa51d7e

View file

@ -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;