mirror of
https://github.com/asdlokj1qpi233/subconverter.git
synced 2026-11-03 10:12:50 +00:00
Bug fixes
Fix line breaks not correctly processed in getruleset interface. Fix missing initialization of managed_config_prefix in simpleToClashR interface. Optimize codes.
This commit is contained in:
3 files changed
+18
-4
No files matched your search
+1
-1
@@ -215,7 +215,7 @@ public:
|
||||
lineSize = strLine.size();
|
||||
if(lineSize && strLine[lineSize - 1] == '\r') //remove line break
|
||||
{
|
||||
strLine = strLine.substr(0, lineSize - 1);
|
||||
strLine.erase(lineSize - 1);
|
||||
lineSize--;
|
||||
}
|
||||
if(!lineSize || strLine[0] == ';' || strLine[0] == '#' || (lineSize >= 2 && strLine[0] == '/' && strLine[1] == '/')) //empty lines and comments are ignored
|
||||
|
||||
Reference in new issue
Block a user