minor fixes

This commit is contained in:
Akash Mozumdar 2018-07-19 13:34:26 -04:00
parent 55764bf8e2
commit a7a3379050
2 changed files with 4 additions and 6 deletions

View File

@ -141,12 +141,9 @@ void HookManager::DispatchText(DWORD pid, DWORD hook, DWORD retn, DWORD spl, con
void HookManager::AddConsoleOutput(LPCWSTR text)
{
HM_LOCK;
if (text)
{
int len = wcslen(text) * 2;
TextThread *console = textThreadsByParams[{ 0, -1UL, -1UL, -1UL }];
console->AddSentence(std::wstring(text));
}
}
void HookManager::ClearCurrent()

View File

@ -30,6 +30,7 @@ struct ThreadParameterHasher
}
};
// Artikash 7/19/2018: This should probably be broken up into 2-4 classes...
class __declspec(dllexport) HookManager
{
public: