From e90c8b1830f6cb66bfb5dbd9cd53f131d222d82d Mon Sep 17 00:00:00 2001 From: Martin Fuchs Date: Sun, 25 Jan 2009 11:05:27 +0000 Subject: [PATCH] add code comment svn path=/trunk/; revision=39081 --- reactos/base/shell/explorer/shell/fatfs.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/reactos/base/shell/explorer/shell/fatfs.cpp b/reactos/base/shell/explorer/shell/fatfs.cpp index 8b3ef91cb1f..56144289784 100644 --- 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;