Skip to content

Commit

Permalink
Merge branch 'release/0.5.3'
Browse files Browse the repository at this point in the history
  • Loading branch information
sithis993 committed Jul 20, 2020
2 parents f483d93 + 13b36b5 commit 9b81a8a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.

# Custom ignores
TODO.txt

# User-specific files
*.suo
*.user
Expand Down
6 changes: 0 additions & 6 deletions MealCalculator/CMealCalculatorFrame.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -166,12 +166,6 @@ CIngredient* CMealCalculatorFrame::getCurrentIngredient()
return ingredient;
}

if (calories == 0.0)
{
showError("Ingredient calories must be a number greater than zero");
return ingredient;
}

ingredient = new CIngredient(
name,
brand,
Expand Down
2 changes: 1 addition & 1 deletion MealCalculator/Version.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#pragma once

#define VERSION_STRING "0.5.2"
#define VERSION_STRING "0.5.3"

0 comments on commit 9b81a8a

Please sign in to comment.