Skip to content

Commit 0bb8b46

Browse files
committed
[SHELL32] Follow-up of reactos#7620: Simplify string handling
CORE-19278
1 parent b87c6b8 commit 0bb8b46

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

dll/win32/shell32/utils.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -808,8 +808,7 @@ SHSetUnreadMailCountW(
808808
_In_ DWORD dwCount,
809809
_In_ PCWSTR pszShellExecuteCommand)
810810
{
811-
CString strKey = L"Software\\Microsoft\\Windows\\CurrentVersion\\UnreadMail";
812-
strKey += L'\\';
811+
CString strKey = L"Software\\Microsoft\\Windows\\CurrentVersion\\UnreadMail\\";
813812
strKey += pszMailAddress;
814813

815814
HKEY hKey;

0 commit comments

Comments
 (0)