From 0bb8b46ba8e5c25c95a4250edbac8863523b8608 Mon Sep 17 00:00:00 2001 From: Katayama Hirofumi MZ Date: Mon, 20 Jan 2025 08:27:26 +0900 Subject: [PATCH] [SHELL32] Follow-up of #7620: Simplify string handling CORE-19278 --- dll/win32/shell32/utils.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dll/win32/shell32/utils.cpp b/dll/win32/shell32/utils.cpp index 575dadaa338..391acbd8461 100644 --- a/dll/win32/shell32/utils.cpp +++ b/dll/win32/shell32/utils.cpp @@ -808,8 +808,7 @@ SHSetUnreadMailCountW( _In_ DWORD dwCount, _In_ PCWSTR pszShellExecuteCommand) { - CString strKey = L"Software\\Microsoft\\Windows\\CurrentVersion\\UnreadMail"; - strKey += L'\\'; + CString strKey = L"Software\\Microsoft\\Windows\\CurrentVersion\\UnreadMail\\"; strKey += pszMailAddress; HKEY hKey;