Skip to content

Commit

Permalink
minor change
Browse files Browse the repository at this point in the history
mridul-ms authored and npuvvada committed Nov 10, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 2b3c2fc commit f0a80ad
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions fixups/RegLegacyFixups/RegistryFixups.cpp
Original file line number Diff line number Diff line change
@@ -570,7 +570,7 @@ LSTATUS __stdcall RegOpenKeyExFixup(
Log("[%d] RegOpenKeyEx:\n", RegLocalInstance);


std::string keypath = InterpretKeyPath(key) + '\\' + InterpretStringA(subKey);
std::string keypath = InterpretKeyPath(key) + "\\" + InterpretStringA(subKey);
std::string registryPath = ReplaceRegistrySyntax(keypath);

#ifdef _DEBUG
@@ -647,7 +647,7 @@ LSTATUS __stdcall RegOpenKeyTransactedFixup(
Log("[%d] RegOpenKeyTransacted:\n", RegLocalInstance);
#endif

std::string keypath = InterpretKeyPath(key) + '\\' + InterpretStringA(subKey);
std::string keypath = InterpretKeyPath(key) + "\\" + InterpretStringA(subKey);
std::string registryPath = ReplaceRegistrySyntax(keypath);

#ifdef _DEBUG
@@ -742,7 +742,7 @@ LSTATUS __stdcall RegEnumKeyExFixup(
if (response == ERROR_SUCCESS)
{
//Get Registry Path from hkey
std::string keyPath = InterpretKeyPath(hKey) + '\\' + InterpretStringA(KeyName);
std::string keyPath = InterpretKeyPath(hKey) + "\\" + InterpretStringA(KeyName);
keyPath = ReplaceRegistrySyntax(keyPath);
#ifdef _DEBUG
Log("[%d] RegEnumKeyEx: path=%s", RegLocalInstance, keyPath.c_str());
@@ -1092,7 +1092,7 @@ LSTATUS __stdcall RegGetValueFixup(
Log("[%d] RegGetValue:\n", RegLocalInstance);
#endif
//Get Registry Path from hkey
std::string keypath = InterpretKeyPath(key) + '\\' + InterpretStringA(SubKey);
std::string keypath = InterpretKeyPath(key) + "\\" + InterpretStringA(SubKey);
keypath = ReplaceRegistrySyntax(keypath);

#ifdef _DEBUG

0 comments on commit f0a80ad

Please sign in to comment.