logo

Grimgrains

Unnamed repository; edit this file 'description' to name the repository.
commit: 90e4ce8b632835df105ad909fd7e045da7faca6c
parent 8e0ed59df4939a08ce6075d753505f8524dfbee2
Author: neauoire <aliceffekt@gmail.com>
Date:   Thu, 19 Dec 2019 16:33:22 -0500

Progress on new site builder

Diffstat:

Msource/main0
Msource/recipe.c6+++---
2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/source/main b/source/main Binary files differ. diff --git a/source/recipe.c b/source/recipe.c @@ -59,10 +59,10 @@ void print_recipe(Recipe *recipe) { printf("===========\nParts:\n"); for(int i = 0; i < recipe->parts_len; ++i) { printf("- %s(%d ingredients %d instructions)\n", recipe->parts[i]->name, recipe->parts[i]->servings_len, recipe->parts[i]->instructions_len); - // for(int i = 0; i < recipe->parts[i]->instructions_len; ++i) { - // printf("-- %s\n", recipe->parts[i]->instructions[i]); + for(int i2 = 0; i2 < recipe->parts[i]->instructions_len; ++i2) { + printf("-- %s\n", recipe->parts[i]->instructions[i2]); - // } + } } // printf("===========\nIngredients:\n"); // for(int i = 0; i < recipe.servings_len; ++i) {