Skip to content

Commit

Permalink
fix desc text for 1.14d
Browse files Browse the repository at this point in the history
  • Loading branch information
dschu012 committed Sep 16, 2021
1 parent b1276eb commit 97077ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Configuration.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,8 @@ Rule* Configuration::ParseRule(std::vector<std::wstring>& lines) {
return rule;
}

#define CONDITION(NAME) if(line.compare(0, wcslen(L#NAME), L#NAME) == 0) { int len = wcslen(L#NAME); items.push_back(new NAME##Condition(line.length() > len ? trim_copy(line.substr(len + 1)) : L"")); match = true; }
#define ACTION(NAME) if(line.compare(0, wcslen(L#NAME), L#NAME) == 0) { int len = wcslen(L#NAME); items.push_back(new NAME##Action(line.length() > len ? trim_copy(line.substr(len + 1)) : L"")); match = true; }
#define CONDITION(NAME) if(line.compare(0, wcslen(L#NAME), L#NAME) == 0) { uint32_t len = wcslen(L#NAME); items.push_back(new NAME##Condition(line.length() > len ? trim_copy(line.substr(len + 1)) : L"")); match = true; }
#define ACTION(NAME) if(line.compare(0, wcslen(L#NAME), L#NAME) == 0) { uint32_t len = wcslen(L#NAME); items.push_back(new NAME##Action(line.length() > len ? trim_copy(line.substr(len + 1)) : L"")); match = true; }

std::vector<Condition*> Configuration::ParseConditions(std::vector<std::wstring>& lines) {
std::vector<Condition*> items;
Expand Down

0 comments on commit 97077ca

Please sign in to comment.