mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
Fix warning
This commit is contained in:
@@ -495,7 +495,7 @@ String expand_keywords(const String& tagged_str, vector<KeywordMatch> const& mat
|
||||
it = skip_tag(it, end);
|
||||
} else {
|
||||
bool is_close = (it+1) != end && *(it+1) == '/';
|
||||
if (is_close && !close || !is_close && !open) return;
|
||||
if ((is_close && !close) || (!is_close && !open)) return;
|
||||
if (is_tag(it, end, "<atom")) {
|
||||
atom++;
|
||||
} else if (is_tag(it, end, "</atom")) {
|
||||
|
||||
Reference in New Issue
Block a user