1
0
Fork 0

command >12 chars fix

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@127
This commit is contained in:
Ulf Wohlers 2002-08-08 15:52:25 +00:00
parent 092483b2f9
commit 1bf741280b

View file

@ -48,7 +48,7 @@ bool DOS_MakeName(char * name,char * fullname,Bit8u * drive) {
Bit32u r=0;Bit32u w=0;Bit32u namestart=0;
bool hasdrive=false;
*drive=CurrentDrive;
char tempdir[DOS_NAMELENGTH];
char tempdir[128];
//TODO Maybe check for illegal characters
while (name[r]!=0 && (r<DOS_PATHLENGTH)) {
Bit8u c=name[r++];