Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

small fix

  • Loading branch information...
commit 4f77a09354d57d23e325eea33bee6d556d4317ba 1 parent 26d52b8
@vershov vershov authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/MiniVersion.cpp
View
4 src/MiniVersion.cpp
@@ -235,7 +235,7 @@ BOOL CMiniVersion::GetFixedInfo(VS_FIXEDFILEINFO& rFixedInfo)
///////////////////////////////////////////////////////////////////////////////
// GetStringInfo
-BOOL CMiniVersion::GetStringInfo(LPCSTR lpszKey, LPTSTR lpszReturnValue)
+BOOL CMiniVersion::GetStringInfo(LPCTSTR lpszKey, LPTSTR lpszReturnValue)
{
BOOL rc;
DWORD *pdwTranslation;
@@ -258,7 +258,7 @@ BOOL CMiniVersion::GetStringInfo(LPCSTR lpszKey, LPTSTR lpszReturnValue)
if (!rc)
return FALSE;
- char szKey[2000];
+ TCHAR szKey[2000];
wsprintf(szKey, _T("\\StringFileInfo\\%04x%04x\\%s"),
LOWORD (*pdwTranslation), HIWORD (*pdwTranslation),
lpszKey);
Please sign in to comment.
Something went wrong with that request. Please try again.