Browse Source

Enlarge "DisplayVersion" buffer

pull/886/head
Valentin Radu 4 years ago
parent
commit
4ec8cc10f7
  1. 4
      ep_setup/ep_setup.c

4
ep_setup/ep_setup.c

@ -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…
Cancel
Save