mirror of
https://github.com/FunKey-Project/RetroFE.git
synced 2026-04-03 10:47:23 +02:00
Moving comment filtering to Utils class. Adding comment filtering to collection basic lists (include.txt, exclude.txt, etc).
This commit is contained in:
@@ -203,12 +203,13 @@ bool CollectionInfoBuilder::ImportBasicList(CollectionInfo * /*info*/, std::stri
|
||||
return false;
|
||||
}
|
||||
|
||||
std::string line;
|
||||
std::string line;
|
||||
|
||||
while(std::getline(includeStream, line))
|
||||
{
|
||||
|
||||
if(list.find(line) == list.end())
|
||||
line = Utils::FilterComments(line);
|
||||
|
||||
if(!line.empty() && list.find(line) == list.end())
|
||||
{
|
||||
Item *i = new Item();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user