mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 17:05:46 +00:00
Daniel Zimmerman <netzimme@aim.com>
- Fix the "OVERRUN STATIC error" in CID 557-574 in explorer (use a byte array instead of a shortfilename-sized array). See issue #3914 for more details. svn path=/trunk/; revision=38020
This commit is contained in:
parent
e30784ec7b
commit
c026b4fed5
1 changed files with 1 additions and 0 deletions
|
@ -138,6 +138,7 @@ void FATDirectory::read_directory(int scan_flags)
|
|||
*d = '\0';
|
||||
} else {
|
||||
// read long file name
|
||||
s = (const char*)p->Ent->B;
|
||||
TCHAR lname[] = {s[1], s[3], s[5], s[7], s[9], s[14], s[16], s[18], s[20], s[22], s[24], s[28], s[30]};
|
||||
|
||||
long_name = String(lname, 13) + long_name;
|
||||
|
|
Loading…
Reference in a new issue