fixed a very annoying bug that caused dosbox to crash when dir was done on a virtual drive under linux
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@401
This commit is contained in:
parent
2460aa3bf9
commit
8cbb3cef0f
1 changed files with 1 additions and 1 deletions
|
@ -183,7 +183,7 @@ bool Virtual_Drive::FindFirst(char * _dir,DOS_DTA & dta) {
|
|||
}
|
||||
|
||||
bool Virtual_Drive::FindNext(DOS_DTA & dta) {
|
||||
Bit8u attr;char pattern[DOS_NAMELENGTH];
|
||||
Bit8u attr;char pattern[DOS_NAMELENGTH_ASCII];
|
||||
dta.GetSearchParams(attr,pattern);
|
||||
while (search_file) {
|
||||
if (WildFileCmp(search_file->name,pattern)) {
|
||||
|
|
Loading…
Add table
Reference in a new issue