summaryrefslogtreecommitdiffstats
path: root/base/file_version_info.cc
diff options
context:
space:
mode:
Diffstat (limited to 'base/file_version_info.cc')
-rw-r--r--base/file_version_info.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/file_version_info.cc b/base/file_version_info.cc
index 90aedd2..fbe90a1 100644
--- a/base/file_version_info.cc
+++ b/base/file_version_info.cc
@@ -183,7 +183,7 @@ bool FileVersionInfo::GetValue(const wchar_t* name, std::wstring* value_str) {
WORD language = lang_codepage[i++];
WORD code_page = lang_codepage[i++];
_snwprintf_s(sub_block, MAX_PATH, MAX_PATH,
- L"\\StringFileInfo\\%04x%04x\\%s", language, code_page, name);
+ L"\\StringFileInfo\\%04x%04x\\%ls", language, code_page, name);
LPVOID value = NULL;
uint32 size;
BOOL r = ::VerQueryValue(data_.get(), sub_block, &value, &size);