fixed small bug (files were not shown using dir command)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@395
This commit is contained in:
parent
5df512bcc0
commit
2f528432fc
2 changed files with 2 additions and 2 deletions
|
@ -244,7 +244,7 @@ void DOS_DTA::GetSearchParams(Bit8u & attr,char * pattern) {
|
|||
memcpy(pattern,temp,8);
|
||||
pattern[8]='.';
|
||||
memcpy(&pattern[9],&temp[8],3);
|
||||
// pattern[12]=0;
|
||||
pattern[12]=0;
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -105,7 +105,7 @@ bool localDrive::FindNext(DOS_DTA & dta) {
|
|||
struct dirent * dir_ent;
|
||||
struct stat stat_block;
|
||||
char full_name[CROSS_LEN];
|
||||
Bit8u srch_attr;char srch_pattern[DOS_NAMELENGTH];
|
||||
Bit8u srch_attr;char srch_pattern[DOS_NAMELENGTH_ASCII];
|
||||
Bit8u find_attr;
|
||||
|
||||
if(!srch_opendir) return false;
|
||||
|
|
Loading…
Add table
Reference in a new issue