[SHELL32] Follow-up of #7620: Simplify string handling

CORE-19278
This commit is contained in:
Katayama Hirofumi MZ 2025-01-20 08:27:26 +09:00
parent b87c6b8799
commit 0bb8b46ba8

View file

@ -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;