diff --git a/CMakeLists.txt b/CMakeLists.txt index 93fef39..aec3057 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -93,7 +93,7 @@ if(WIN32) $<$>:/OPT:ICF> # # Use relative path to the PDB file to avoid exposing the full path - /PDBALTPATH:%_PDB% + # /PDBALTPATH:%_PDB% ) else() add_compile_options( diff --git a/source/llm.cpp b/source/llm.cpp index a440a77..373329c 100644 --- a/source/llm.cpp +++ b/source/llm.cpp @@ -528,7 +528,7 @@ static bool CommandHook( (void)hwnd; if (command == command_id) { - llm_state = ~llm_state; + llm_state = !llm_state; static int param = llm_state; if (llm_state == 1) { if (pdc_mode_check) {