Fixed small bug in isvalid. Not all illegal chars were recognized.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@200
This commit is contained in:
parent
a26d7e5ea8
commit
c1b9030aaa
1 changed files with 1 additions and 1 deletions
|
@ -504,7 +504,7 @@ static bool FCB_MakeName (DOS_FCB* fcb, char* outname, Bit8u* outdrive){
|
|||
static bool isvalid(const char* in){
|
||||
|
||||
const char ill[]=ILLEGAL;
|
||||
return (*in>0x1F) && (strchr(ill,*in)==0);
|
||||
return (Bit8u(*in)>0x1F) && (strchr(ill,*in)==0);
|
||||
}
|
||||
|
||||
static void vullen (char* veld,char* pveld){
|
||||
|
|
Loading…
Add table
Reference in a new issue