Permalink
Browse files

FurnaceRecipe parsing: Fixed whitespace removing.

  • Loading branch information...
madmaxoft committed Jun 26, 2014
1 parent ec10151 commit 0df644c9f7775862c6c359b238e3440536092e04
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/FurnaceRecipe.cpp
View
@@ -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

Please sign in to comment.