diff --git a/CMakeLists.txt b/CMakeLists.txt index 5f7810f..8e030a1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -22,7 +22,7 @@ set(BUILD_DATE ${BUILD_DATE}) set(CPACK_GENERATOR "ZIP") set(CPACK_PACKAGE_VERSION_MAJOR 1) set(CPACK_PACKAGE_VERSION_MINOR 0) -set(CPACK_PACKAGE_VERSION_PATCH 1) +set(CPACK_PACKAGE_VERSION_PATCH 2) set(CPACK_SOURCE_GENERATOR "ZIP") set(CPACK_SOURCE_IGNORE_FILES "/CVS/;/\\\\.svn/;/\\\\.bzr/;/\\\\.hg/;/\\\\.git/;\\\\.swp$;\\\\.#;/#" ".*\\\\.user$" "\\\\.gitignore$" "\\\\.gitmodules$" "\\\\.git$") include(CPack) diff --git a/vnr/vnrhook/src/engine/engine.cc b/vnr/vnrhook/src/engine/engine.cc index 63aac0f..d934d80 100644 --- a/vnr/vnrhook/src/engine/engine.cc +++ b/vnr/vnrhook/src/engine/engine.cc @@ -16053,7 +16053,7 @@ bool InsertAIRNovelHook() hp.offset = pusha_edx_off - 4; hp.filter_fun = [](void* str, DWORD* len, HookParam* hp, BYTE index) { - return *len > 4 && + return *len < 4 && *(char*)str != '[' && *(char*)str != ';' && *(char*)str != '&' &&