Permalink
Browse files
FurnaceRecipe parsing: Fixed whitespace removing.
- Loading branch information...
Showing
with
1 addition
and
1 deletion.
-
+1
−1
src/FurnaceRecipe.cpp
|
|
@@ -68,7 +68,7 @@ void cFurnaceRecipe::ReloadRecipes(void) |
|
|
while (std::getline(f, ParsingLine))
|
|
|
{
|
|
|
LineNum++;
|
|
|
ParsingLine = TrimString(ParsingLine);
|
|
|
ParsingLine.erase(std::remove_if(ParsingLine.begin(), ParsingLine.end(), isspace), ParsingLine.end()); // Remove ALL whitespace from the line
|
|
|
if (ParsingLine.empty())
|
|
|
{
|
|
|
continue;
|
|
|
|
0 comments on commit
0df644c