Fix not correctly converting some Clash rule-providers

This commit is contained in:
Tindy X
2020-06-23 01:32:30 +08:00
parent c873a25fea
commit e262bb7f4c

View File

@@ -115,6 +115,7 @@ std::string convertRuleset(const std::string &content, int type)
string_size pos, lineSize;
while(getline(ss, strLine, delimiter))
{
strLine = trim(strLine);
lineSize = strLine.size();
if(lineSize && strLine[lineSize - 1] == '\r') //remove line break
{