Skip to content

Commit

Permalink
wordlister: add engscan doubleundo mode
Browse files Browse the repository at this point in the history
  • Loading branch information
dinhngtu committed Jan 24, 2024
1 parent f36a035 commit e8ea65f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions WordLister/EngScan.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ bool engscan(const wchar_t* filename) {
else if (!(*engine.GetRespos().rbegin() & ResposTone))
wordclass = L"ToneNotEnd";
wprintf(L"%s %s\n", word.c_str(), wordclass);
} else if (std::any_of(engine.GetRespos().begin(), engine.GetRespos().end(), [](auto x) {
return x & ResposDoubleUndo;
})) {
wprintf(L"%s %s\n", word.c_str(), L"DoubleUndo");
}
}
FreeFile(words);
Expand Down

0 comments on commit e8ea65f

Please sign in to comment.