mirror of
https://github.com/asdlokj1qpi233/subconverter.git
synced 2026-11-03 02:02:24 +00:00
Bug fixes
Fix when importing rulesets, some invisible characters are also added to the result. Fix proxy group/ruleset settings not working properly with YAML format external configurations.
This commit is contained in:
4 files changed
+24
-1
No files matched your search
+3
-1
@@ -249,6 +249,7 @@ void readGroup(YAML::Node node, string_array &dest)
|
||||
|
||||
for(i = 0; i < node.size(); i++)
|
||||
{
|
||||
name.clear();
|
||||
eraseElements(tempArray);
|
||||
object = node[i];
|
||||
object["import"] >> name;
|
||||
@@ -292,7 +293,8 @@ void readRuleset(YAML::Node node, string_array &dest)
|
||||
|
||||
for(unsigned int i = 0; i < node.size(); i++)
|
||||
{
|
||||
name = "";
|
||||
url.clear();
|
||||
name.clear();
|
||||
object = node[i];
|
||||
object["import"] >> name;
|
||||
if(name.size())
|
||||
|
||||
Reference in new issue
Block a user