command >12 chars fix
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@127
This commit is contained in:
parent
092483b2f9
commit
1bf741280b
1 changed files with 1 additions and 1 deletions
|
@ -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++];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue