projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e5c2f55
)
add code comment
author
Martin Fuchs
<martin-fuchs@gmx.net>
Sun, 25 Jan 2009 11:05:27 +0000
(11:05 +0000)
committer
Martin Fuchs
<martin-fuchs@gmx.net>
Sun, 25 Jan 2009 11:05:27 +0000
(11:05 +0000)
svn path=/trunk/; revision=39081
reactos/base/shell/explorer/shell/fatfs.cpp
patch
|
blob
|
history
diff --git
a/reactos/base/shell/explorer/shell/fatfs.cpp
b/reactos/base/shell/explorer/shell/fatfs.cpp
index
8b3ef91
..
5614428
100644
(file)
--- a/
reactos/base/shell/explorer/shell/fatfs.cpp
+++ b/
reactos/base/shell/explorer/shell/fatfs.cpp
@@
-137,8
+137,9
@@
void FATDirectory::read_directory(int scan_flags)
*d = '\0';
} else {
+ s = (const char*)p->Ent->B; // no change of the pointer, just to avoid overung warnings in code checkers
+
// 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;