mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 13:06:59 -04:00
Fixed/hacked 'no parameter' for 0.2.7 keyword compatability;
Added 'just_header' flag to make stylesheet list load faster; Added versioning and dependency support to packages git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@320 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -60,6 +60,9 @@ void read_compat(Reader& tag, Keyword* k) {
|
||||
if (start != String::npos && end != String::npos) {
|
||||
k->match += separator.substr(start + 1, end - start - 1);
|
||||
}
|
||||
if (parameter == _("no parameter")) {
|
||||
parameter.clear(); // was used for magic to indicate absence of parameter
|
||||
}
|
||||
if (!parameter.empty()) {
|
||||
k->match += _("<atom-param>") + parameter + _("</atom-param>");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user