Skip to content
This repository was archived by the owner on Jan 4, 2025. It is now read-only.

Commit 974f30a

Browse files
committed
patch
1 parent 0f23309 commit 974f30a

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

Common/RegHelper.hpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ namespace TranslucentFlyouts
2525
for (size_t i{ 1 }; i <= keyTree.size(); i++)
2626
{
2727
keyName = root;
28-
for (size_t j{ 0 }; j < i && maxFallThrough >= 0; j++, maxFallThrough--)
28+
for (size_t j{ 1 }; j <= keyTree.size() - i + 1 && maxFallThrough >= 0; j++, maxFallThrough--)
2929
{
30-
auto index{ keyTree.size() - j - 1 };
30+
auto index{ keyTree.size() - j };
3131
if (!keyTree[index].empty())
3232
{
3333
keyName += L"\\";

TFMain/dllmain.cpp

-2
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,6 @@ BOOL APIENTRY DllMain(
9595
{
9696
case DLL_PROCESS_ATTACH:
9797
{
98-
DisableThreadLibraryCalls(hModule);
99-
10098
if (
10199
Api::IsCurrentProcessInBlockList() ||
102100
GetSystemMetrics(SM_CLEANBOOT) ||

0 commit comments

Comments
 (0)