From 3f004554f8f951259f77b933ddcbe4685cf250f4 Mon Sep 17 00:00:00 2001 From: Akash Mozumdar <akashmozumdar@gmail.com> Date: Mon, 19 Aug 2019 16:00:38 -0400 Subject: [PATCH] *.int files are too common --- texthook/engine/match32.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/texthook/engine/match32.cc b/texthook/engine/match32.cc index 47077d5..aae1470 100644 --- a/texthook/engine/match32.cc +++ b/texthook/engine/match32.cc @@ -179,8 +179,7 @@ bool DetermineEngineByFile1() InsertArtemisHook(); return true; } - if (Util::CheckFile(L"*.int")) { - InsertCatSystemHook(); + if (Util::CheckFile(L"*.int") && InsertCatSystemHook()) { return true; } if (Util::CheckFile(L"message.dat")) {