summaryrefslogtreecommitdiffstats
path: root/src/FurnaceRecipe.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-06-26 18:20:12 +0200
committerMattes D <github@xoft.cz>2014-06-26 18:20:12 +0200
commitec1015112c969798bae3efe87998c17d130b271a (patch)
treeed6b4b5d9d2f48d0840818f6840b94af6b373be2 /src/FurnaceRecipe.cpp
parentFurnaceRecipe: Moved the parsing into separate functions for clarity. (diff)
downloadcuberite-ec1015112c969798bae3efe87998c17d130b271a.tar
cuberite-ec1015112c969798bae3efe87998c17d130b271a.tar.gz
cuberite-ec1015112c969798bae3efe87998c17d130b271a.tar.bz2
cuberite-ec1015112c969798bae3efe87998c17d130b271a.tar.lz
cuberite-ec1015112c969798bae3efe87998c17d130b271a.tar.xz
cuberite-ec1015112c969798bae3efe87998c17d130b271a.tar.zst
cuberite-ec1015112c969798bae3efe87998c17d130b271a.zip
Diffstat (limited to 'src/FurnaceRecipe.cpp')
-rw-r--r--src/FurnaceRecipe.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/FurnaceRecipe.cpp b/src/FurnaceRecipe.cpp
index cc4098607..412402cbc 100644
--- a/src/FurnaceRecipe.cpp
+++ b/src/FurnaceRecipe.cpp
@@ -68,7 +68,7 @@ void cFurnaceRecipe::ReloadRecipes(void)
while (std::getline(f, ParsingLine))
{
LineNum++;
- TrimString(ParsingLine);
+ ParsingLine = TrimString(ParsingLine);
if (ParsingLine.empty())
{
continue;