Cleanup / style changes

This commit is contained in:
WarmUpTill
2026-04-07 22:39:24 +02:00
committed by WarmUpTill
parent 99629e8c66
commit 1483f9d9dc
12 changed files with 71 additions and 134 deletions

View File

@@ -135,8 +135,7 @@ static bool foregroundWindowChanged()
bool MacroConditionWindow::CheckCondition()
{
std::vector<std::string> windowList;
GetWindowList(windowList);
const auto windowList = GetWindowList();
bool match = false;
if (_windowRegex.Enabled()) {
match = WindowRegexMatches(windowList);