Sat, 20 Oct 2018 23:26:33 +0200
Two small fixes
main/files.c | file | annotate | diff | comparison | revisions | |
main/recipes.c | file | annotate | diff | comparison | revisions |
--- a/main/files.c Sat Oct 20 21:22:04 2018 +0200 +++ b/main/files.c Sat Oct 20 23:26:33 2018 +0200 @@ -96,7 +96,7 @@ Buttons_Add(180, 40,120, 40, "Backup", 1); Buttons_Add( 20,120,120, 40, "Directory", 2); Buttons_Add(130, 200, 60, 40, "Ok", 3); - Buttons[4].dark = true; + Buttons[3].dark = true; Buttons_Show(); break;
--- a/main/recipes.c Sat Oct 20 21:22:04 2018 +0200 +++ b/main/recipes.c Sat Oct 20 23:26:33 2018 +0200 @@ -667,7 +667,7 @@ mintemp = recipe.MashStep[0].Temperature - 5; else mintemp = recipe.MashStep[i - 1].Temperature; - EditFloat("Inmaisch temperatuur", &recipe.MashStep[i].Temperature, mintemp, 74, 2); + EditFloat(tmp, &recipe.MashStep[i].Temperature, mintemp, 74, 2); recipe.MashStep[i].Temperature = ((int)(recipe.MashStep[i].Temperature * 4)) / 4.0; sprintf(tmp, "Maisch stap %d rusttijd in minuten", i); EditUint16(tmp, &recipe.MashStep[i].Resttime, 1, 480);