Skip to content
Snippets Groups Projects
Commit 5ad1efce authored by Matthew Webster's avatar Matthew Webster
Browse files

fix for white spaces

parent 985d31b6
No related branches found
No related tags found
No related merge requests found
......@@ -166,9 +166,12 @@ MelodicOptions* MelodicOptions::gopt = NULL;
ifstream fs(inputfname.value().at(0).c_str());
string cline;
while (!fs.eof()) {
getline(fs,cline);
if(cline.length()>0)
tmpfnames.push_back(cline);
getline(fs,cline);
if(cline.length()>0) {
while ( cline.find(' ') != cline.npos )
cline.erase( cline.find(' '),1);
tmpfnames.push_back(cline);
}
}
fs.close();
inputfname.set_T(tmpfnames);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment