mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
fix last patch: LPWSTR -> LPTSTR
svn path=/trunk/; revision=16791
This commit is contained in:
parent
a9d517d95c
commit
b12a9db3c1
1 changed files with 2 additions and 2 deletions
|
@ -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 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((LPWSTR)strFilename, NULL);
|
||||
DWORD dwVersionDataLen = GetFileVersionInfoSize((LPTSTR)strFilename, NULL);
|
||||
|
||||
if (dwVersionDataLen) {
|
||||
dlg->pVersionData = malloc(dwVersionDataLen);
|
||||
|
||||
if (GetFileVersionInfo((LPWSTR)strFilename, 0, dwVersionDataLen, dlg->pVersionData)) {
|
||||
if (GetFileVersionInfo((LPTSTR)strFilename, 0, dwVersionDataLen, dlg->pVersionData)) {
|
||||
LPVOID pVal;
|
||||
UINT nValLen;
|
||||
|
||||
|
|
Loading…
Reference in a new issue