Fix build errors from PR #1039

This commit is contained in:
tomcw
2022-02-16 20:14:40 +00:00
parent 7ae8907674
commit 43b9df253a
6 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -1454,7 +1454,7 @@ int get_tfe_enabled(void)
// Called by: tfe_LoadSnapshot() & ApplyNewConfig()
void tfe_SetRegistryInterface(UINT slot, const std::string& name)
{
std::string& regSection = RegGetConfigSlotSection(slot);
std::string regSection = RegGetConfigSlotSection(slot);
RegSaveString(regSection.c_str(), REGVALUE_UTHERNET_INTERFACE, 1, name);
}