From 80284dbb7f5e8ccb30e654e83704db61fe782d5e Mon Sep 17 00:00:00 2001 From: Sapour <128595414+Sapour@users.noreply.github.com> Date: Sun, 26 Mar 2023 17:39:05 +0100 Subject: [PATCH] - Fixed spelling --- SandboxiePlus/SandMan/Helpers/WinAdmin.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SandboxiePlus/SandMan/Helpers/WinAdmin.cpp b/SandboxiePlus/SandMan/Helpers/WinAdmin.cpp index 6f591480..1e2b7aa3 100644 --- a/SandboxiePlus/SandMan/Helpers/WinAdmin.cpp +++ b/SandboxiePlus/SandMan/Helpers/WinAdmin.cpp @@ -117,8 +117,8 @@ bool IsAutorunEnabled() HKEY hkey = nullptr; if (ERROR_SUCCESS == RegOpenKeyEx (HKEY_CURRENT_USER, L"Software\\Microsoft\\Windows\\CurrentVersion\\Run", 0, KEY_ALL_ACCESS, &hkey)) { - // First, determine the required buffer size, including NUL terminator (in bytes). RegGetValue() alway's adds - // an extra NULL terminator to size, even if one already exists, in case the stored value doesn't have one. + // First, determine the required buffer size, including NUL terminator (in bytes). RegGetValue() always adds + // an extra NUL terminator to size, even if one already exists, in case the stored value doesn't have one. DWORD size {0}; if (ERROR_SUCCESS == RegGetValue(hkey, nullptr, AUTO_RUN_KEY_NAME, RRF_RT_REG_SZ, nullptr, nullptr, &size)) {