forked from Public-Mirror/Textractor
minor fixes
This commit is contained in:
parent
55764bf8e2
commit
a7a3379050
@ -141,13 +141,10 @@ 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()
|
||||
{
|
||||
|
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user