diff options
author | Mattes D <github@xoft.cz> | 2014-06-26 18:28:10 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-06-26 18:28:10 +0200 |
commit | 0df644c9f7775862c6c359b238e3440536092e04 (patch) | |
tree | 23bc86615a5073749e3a08fa664bb31a5587cc23 /src | |
parent | Fixed misformed trimming. (diff) | |
download | cuberite-0df644c9f7775862c6c359b238e3440536092e04.tar cuberite-0df644c9f7775862c6c359b238e3440536092e04.tar.gz cuberite-0df644c9f7775862c6c359b238e3440536092e04.tar.bz2 cuberite-0df644c9f7775862c6c359b238e3440536092e04.tar.lz cuberite-0df644c9f7775862c6c359b238e3440536092e04.tar.xz cuberite-0df644c9f7775862c6c359b238e3440536092e04.tar.zst cuberite-0df644c9f7775862c6c359b238e3440536092e04.zip |
Diffstat (limited to '')
-rw-r--r-- | src/FurnaceRecipe.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/FurnaceRecipe.cpp b/src/FurnaceRecipe.cpp index 412402cbc..8add9610c 100644 --- a/src/FurnaceRecipe.cpp +++ b/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; |