зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1121290: Use "%ls" instead of "%s" in _snwprintf_s format string, r=bsmedberg
MSVC 2015 requires the use of the "l" modifier. Not sure why MSVC 2013 didn't. --HG-- extra : rebase_source : 0d340bd7488fb2ba3fdf663a870f9815f3e723c3
This commit is contained in:
Родитель
034f019f32
Коммит
795aecd9f2
|
@ -71,7 +71,7 @@ static char* GetKeyValue(void* verbuf, const WCHAR* key,
|
|||
{
|
||||
WCHAR keybuf[64]; // plenty for the template below, with the longest key
|
||||
// we use (currently "FileDescription")
|
||||
const WCHAR keyFormat[] = L"\\StringFileInfo\\%04X%04X\\%s";
|
||||
const WCHAR keyFormat[] = L"\\StringFileInfo\\%04X%04X\\%ls";
|
||||
WCHAR *buf = nullptr;
|
||||
UINT blen;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче