mirror of
https://github.com/valinet/ExplorerPatcher.git
synced 2024-11-24 07:30:22 +01:00
Enlarge "DisplayVersion" buffer
This commit is contained in:
parent
1864ee1d03
commit
4ec8cc10f7
@ -106,8 +106,8 @@ BOOL SetupUninstallEntry(BOOL bInstall, WCHAR* wszPath)
|
|||||||
|
|
||||||
QueryVersionInfo(hEP, VS_VERSION_INFO, &dwLeftMost, &dwSecondLeft, &dwSecondRight, &dwRightMost);
|
QueryVersionInfo(hEP, VS_VERSION_INFO, &dwLeftMost, &dwSecondLeft, &dwSecondRight, &dwRightMost);
|
||||||
|
|
||||||
WCHAR wszBuf[20];
|
WCHAR wszBuf[30];
|
||||||
swprintf_s(wszBuf, 20, L"%d.%d.%d.%d", dwLeftMost, dwSecondLeft, dwSecondRight, dwRightMost);
|
swprintf_s(wszBuf, 30, L"%d.%d.%d.%d", dwLeftMost, dwSecondLeft, dwSecondRight, dwRightMost);
|
||||||
|
|
||||||
if (!dwLastError)
|
if (!dwLastError)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user