mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-12 05:36:59 -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);
|
it = skip_tag(it, end);
|
||||||
} else {
|
} else {
|
||||||
bool is_close = (it+1) != end && *(it+1) == '/';
|
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")) {
|
if (is_tag(it, end, "<atom")) {
|
||||||
atom++;
|
atom++;
|
||||||
} else if (is_tag(it, end, "</atom")) {
|
} else if (is_tag(it, end, "</atom")) {
|
||||||
|
|||||||
Reference in New Issue
Block a user