commit 3b30a0f3ba81c811663f4d9e6277c00a26d1482a
parent bfcb2d585fc40ef6d91babea1efa56c138325033
Author: Sweets <Sweets@users.noreply.github.com>
Date: Sun, 5 Jul 2020 15:29:27 -0700
Correct pairing for identifier and label
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/callbacks.c b/callbacks.c
@@ -114,9 +114,9 @@ output:
printf("%s\n", "actions");
- while (actions[index + 1]) {
- printf("\t%s = '%s'\n", actions[index], actions[++index]);
- index++;
+ while (actions[index] && actions[index + 1]) {
+ printf("\t%s = %s\n", actions[index], actions[index + 1]);
+ index += 2;
}
printf("%s: %s\n%s: %s\n",