fix last patch: LPWSTR -> LPTSTR

svn path=/trunk/; revision=16791
This commit is contained in:
Martin Fuchs 2005-07-27 05:42:33 +00:00
parent a9d517d95c
commit b12a9db3c1

View file

@ -1821,12 +1821,12 @@ static void CheckForFileInfo(struct PropertiesDialog* dlg, HWND hwnd, LPCTSTR st
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 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','\\', 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'}; '%','0','4','x','%','0','4','x','\\','%','s','\0'};
DWORD dwVersionDataLen = GetFileVersionInfoSize((LPWSTR)strFilename, NULL); DWORD dwVersionDataLen = GetFileVersionInfoSize((LPTSTR)strFilename, NULL);
if (dwVersionDataLen) { if (dwVersionDataLen) {
dlg->pVersionData = malloc(dwVersionDataLen); dlg->pVersionData = malloc(dwVersionDataLen);
if (GetFileVersionInfo((LPWSTR)strFilename, 0, dwVersionDataLen, dlg->pVersionData)) { if (GetFileVersionInfo((LPTSTR)strFilename, 0, dwVersionDataLen, dlg->pVersionData)) {
LPVOID pVal; LPVOID pVal;
UINT nValLen; UINT nValLen;