Permalink
Browse files

small fix

  • Loading branch information...
1 parent 26d52b8 commit 4f77a09354d57d23e325eea33bee6d556d4317ba @vershov vershov committed Oct 13, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/MiniVersion.cpp
View
@@ -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);

0 comments on commit 4f77a09

Please sign in to comment.