commit da0955675199d29451fa04b32802badb3e8b9ff9
parent 2fca804c5ebd83c043d890aedfa0f93e5002f3b9
Author: Sweets <sweets@comfi.es>
Date: Sun, 6 Sep 2020 13:44:03 -0700
Merge pull request #15 from cglindkamp/hints_and_actions_newline
Always add a newline after "hints:" and "actions:" when not using PRIā¦
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/callbacks.c b/callbacks.c
@@ -90,7 +90,7 @@ output:
#ifdef PRINT_JSON
printf("\"hints\": { ");
#else
- printf("hints: ");
+ printf("hints:\n");
#endif
gchar *key;
@@ -172,7 +172,7 @@ output:
#ifdef PRINT_JSON
printf("}, \"actions\": {");
#else
- printf("actions: ");
+ printf("actions:\n");
#endif
while (actions[index] && actions[index + 1]) {