mirror of
https://github.com/AppleWin/AppleWin.git
synced 2026-04-20 15:17:50 +00:00
Fix build errors from PR #1039
This commit is contained in:
+2
-2
@@ -171,7 +171,7 @@ void RegDeleteConfigSlotSection(UINT slot)
|
||||
|
||||
if (!g_sConfigFile.empty())
|
||||
{
|
||||
std::string& section = RegGetConfigSlotSection(slot);
|
||||
std::string section = RegGetConfigSlotSection(slot);
|
||||
return _ini::RegDeleteString(section.c_str(), peruser);
|
||||
}
|
||||
|
||||
@@ -186,7 +186,7 @@ void RegDeleteConfigSlotSection(UINT slot)
|
||||
&keyhandle);
|
||||
if (status == ERROR_SUCCESS)
|
||||
{
|
||||
std::string& section = RegGetSlotSection(slot);
|
||||
std::string section = RegGetSlotSection(slot);
|
||||
LSTATUS status2 = RegDeleteKey(keyhandle, section.c_str());
|
||||
if (status2 != ERROR_SUCCESS && status2 != ERROR_FILE_NOT_FOUND)
|
||||
_ASSERT(0);
|
||||
|
||||
Reference in New Issue
Block a user