From 0f903940bc581f035a411214cc66af994bd6668b Mon Sep 17 00:00:00 2001 From: Akash Mozumdar Date: Sat, 1 Dec 2018 15:54:30 -0500 Subject: [PATCH] fix logging --- include/text.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/text.h b/include/text.h index c8826c9..c9b746c 100644 --- a/include/text.h +++ b/include/text.h @@ -34,10 +34,10 @@ constexpr auto NO_HOOKS = L"Textractor: no hooks detected"; constexpr auto INVALID_CODEPAGE = L"Textractor: couldn't convert text (invalid codepage?)"; constexpr auto PIPE_CONNECTED = u8"Textractor: pipe connected"; constexpr auto DISABLE_HOOKS = u8"Textractor: hooks don't work on x64, only read codes work: engine disabled"; -constexpr auto INSERTING_HOOK = u8"Textractor: inserting hook: "; +constexpr auto INSERTING_HOOK = u8"Textractor: inserting hook: %s"; +constexpr auto REMOVING_HOOK = u8"Textractor: removing hook: %s"; constexpr auto HOOK_FAILED = u8"Textractor: failed to insert hook"; constexpr auto TOO_MANY_HOOKS = u8"Textractor: too many hooks: can't insert"; constexpr auto FUNC_MISSING = u8"Textractor: function not present"; constexpr auto MODULE_MISSING = u8"Textractor: module not present"; constexpr auto GARBAGE_MEMORY = u8"Textractor: memory constantly changing, useless to read"; -constexpr auto REMOVING_HOOK = u8"Textractor: removing hook: "; \ No newline at end of file