1
0
Fork 0

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:
Ulf Wohlers 2002-08-21 18:24:50 +00:00
parent a26d7e5ea8
commit c1b9030aaa

View file

@ -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){