From: Marcus Meissner <meissner@suse.de> Co-authored-by: Vishnunithyasoundhar S <svishnunithyasoundhar@gmail.com> --- dlls/shcore/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/shcore/main.c b/dlls/shcore/main.c index 90911ea0a10..dde2e38f794 100644 --- a/dlls/shcore/main.c +++ b/dlls/shcore/main.c @@ -296,7 +296,7 @@ HRESULT WINAPI GetCurrentProcessExplicitAppUserModelID(WCHAR **appid) *appid = CoTaskMemAlloc( params->WindowTitle.MaximumLength + sizeof(WCHAR)); if (*appid) { memcpy( *appid, params->WindowTitle.Buffer, params->WindowTitle.MaximumLength ); - *appid[params->WindowTitle.MaximumLength/sizeof(WHCAR)] = 0; + *appid[params->WindowTitle.MaximumLength/sizeof(WCHAR)] = 0; } else ret = E_OUTOFMEMORY; } -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/10696