add comment
Modified: trunk/reactos/subsys/system/winefile/winefile.c
_____
Modified: trunk/reactos/subsys/system/winefile/winefile.c
--- trunk/reactos/subsys/system/winefile/winefile.c 2005-09-16
21:15:58 UTC (rev 17890)
+++ trunk/reactos/subsys/system/winefile/winefile.c 2005-09-17
10:52:43 UTC (rev 17891)
@@ -1821,12 +1821,12 @@
static TCHAR sTranslation[] =
{'\\','V','a','r','F','i','l','e','I','n','f','o','\\','T','r','a','n','
s','l','a','t','i','o','n','\0'};
static TCHAR sStringFileInfo[] =
{'\\','S','t','r','i','n','g','F','i','l','e','I','n','f','o','\\',
'%','0','4','x','%','0','4','x','\\','%','s','\0'};
- DWORD dwVersionDataLen =
GetFileVersionInfoSize((LPTSTR)strFilename, NULL);
+ DWORD dwVersionDataLen =
GetFileVersionInfoSize((LPTSTR)strFilename, NULL); /* VC6 and MinGW
headers use LPTSTR instead of LPCTSTR */
if (dwVersionDataLen) {
dlg->pVersionData = malloc(dwVersionDataLen);
- if (GetFileVersionInfo((LPTSTR)strFilename, 0,
dwVersionDataLen, dlg->pVersionData)) {
+ if (GetFileVersionInfo((LPTSTR)strFilename, 0,
dwVersionDataLen, dlg->pVersionData)) { /* VC6 and MinGW headers use
LPTSTR instead of LPCTSTR */
LPVOID pVal;
UINT nValLen;