From c2baf116c772644908198ed7638ab8f306c8271d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=81=8D=E5=85=AE=E6=83=9A=E5=85=AE?= <1173718158@qq.com> Date: Thu, 14 Nov 2024 16:13:32 +0800 Subject: [PATCH] catsys --- cpp/LunaHook/LunaHook/engine32/CatSystem.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/cpp/LunaHook/LunaHook/engine32/CatSystem.cpp b/cpp/LunaHook/LunaHook/engine32/CatSystem.cpp index ac52cac1..270b2d6b 100644 --- a/cpp/LunaHook/LunaHook/engine32/CatSystem.cpp +++ b/cpp/LunaHook/LunaHook/engine32/CatSystem.cpp @@ -242,6 +242,7 @@ bool InsertCatSystem2Hook() auto _ = std::regex_replace(buffer->strA(), rx, "$1"); buffer->from(_); }; + hp.newlineseperator = L"\\n"; return NewHook(hp, "CatSystem2new"); } namespace