dossrv: make dos 8+3 filenames lowercase

front
cinap_lenrek 2012-04-14 13:21:31 +02:00
parent 2e3eb536ae
commit fa49f7e3ff
1 changed files with 2 additions and 2 deletions

View File

@ -1116,7 +1116,7 @@ getname(char *p, Dosdir *d)
break; break;
if(i == 0 && c == 0x05) if(i == 0 && c == 0x05)
c = 0xe5; c = 0xe5;
*p++ = c; *p++ = tolower(c);
} }
for(i=0; i<3; i++){ for(i=0; i<3; i++){
c = d->ext[i]; c = d->ext[i];
@ -1124,7 +1124,7 @@ getname(char *p, Dosdir *d)
break; break;
if(i == 0) if(i == 0)
*p++ = '.'; *p++ = '.';
*p++ = c; *p++ = tolower(c);
} }
*p = 0; *p = 0;
} }