1
0
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:
Valentin Radu 2021-12-13 18:18:00 +02:00
parent 1864ee1d03
commit 4ec8cc10f7

View File

@ -106,8 +106,8 @@ BOOL SetupUninstallEntry(BOOL bInstall, WCHAR* wszPath)
QueryVersionInfo(hEP, VS_VERSION_INFO, &dwLeftMost, &dwSecondLeft, &dwSecondRight, &dwRightMost);
WCHAR wszBuf[20];
swprintf_s(wszBuf, 20, L"%d.%d.%d.%d", dwLeftMost, dwSecondLeft, dwSecondRight, dwRightMost);
WCHAR wszBuf[30];
swprintf_s(wszBuf, 30, L"%d.%d.%d.%d", dwLeftMost, dwSecondLeft, dwSecondRight, dwRightMost);
if (!dwLastError)
{