summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--desktop/win32/source/applauncher/appusermodelid.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/win32/source/applauncher/appusermodelid.cxx b/desktop/win32/source/applauncher/appusermodelid.cxx
index 721fefa6edc4..209581768f93 100644
--- a/desktop/win32/source/applauncher/appusermodelid.cxx
+++ b/desktop/win32/source/applauncher/appusermodelid.cxx
@@ -37,7 +37,7 @@ void SetExplicitAppUserModelID(PCWSTR AppID)
{
WCHAR szShell32[MAX_PATH];
GetSystemDirectoryW(szShell32, MAX_PATH);
- wcscat_s(szShell32, MAX_PATH, L"\\Shell32.dll");
+ wcscat(szShell32, L"\\Shell32.dll");
HINSTANCE hinstDll = LoadLibraryW(szShell32);