From fc00a3c1edb5da366a889dfc3670ee544d47de70 Mon Sep 17 00:00:00 2001 From: Akash Mozumdar Date: Wed, 22 Aug 2018 19:13:52 -0400 Subject: [PATCH] oops --- vnrhook/src/hijack/texthook.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vnrhook/src/hijack/texthook.cc b/vnrhook/src/hijack/texthook.cc index c29ae22..bac78a9 100644 --- a/vnrhook/src/hijack/texthook.cc +++ b/vnrhook/src/hijack/texthook.cc @@ -449,7 +449,7 @@ DWORD WINAPI ReaderThread(LPVOID threadParam) TextHook* hook = (TextHook*)threadParam; BYTE buffer[PIPE_BUFFER_SIZE] = {}; unsigned int changeCount = 0; - int dataLen = 0; + int dataLen = 1; const char* currentAddress = (char*)hook->hp.address; while (true) {