https://git.reactos.org/?p=reactos.git;a=commitdiff;h=0bb8b46ba8e5c25c95a42…
commit 0bb8b46ba8e5c25c95a4250edbac8863523b8608
Author: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
AuthorDate: Mon Jan 20 08:27:26 2025 +0900
Commit: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
CommitDate: Mon Jan 20 08:28:58 2025 +0900
[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;