summaryrefslogtreecommitdiffstats
path: root/src/BrewingRecipes.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/BrewingRecipes.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/BrewingRecipes.cpp b/src/BrewingRecipes.cpp
index 3f5173d3d..ca427f9cc 100644
--- a/src/BrewingRecipes.cpp
+++ b/src/BrewingRecipes.cpp
@@ -45,8 +45,9 @@ void cBrewingRecipes::ReloadRecipes(void)
ParsingLine.erase(FirstCommentSymbol);
}
- if (ParsingLine.empty())
+ if (IsOnlyWhitespace(ParsingLine))
{
+ // Ignore empty and whitespace only lines
continue;
}
AddRecipeFromLine(ParsingLine, LineNum);