From ad1afbd96d6a1de1b49e365a7573af1c1b09f557 Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Tue, 17 Apr 2007 12:44:24 -0700 Subject: [PATCH] Print before-and-after bin numbers --- mnemon.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/mnemon.c b/mnemon.c index e13d3b9..d28657b 100644 --- a/mnemon.c +++ b/mnemon.c @@ -649,14 +649,16 @@ mnemon_do_challenges (mnemon_t *mnemon) mnemon_remove_bin (mnemon, bin); if (correct) { - printf ("Correct!\n\n"); + printf ("Correct! (Moving from %d to ", item->count); item->count++; + printf ("%d)\n\n", item->count); } else { - printf (" %s is the correct answer.\n\n", - item->response); + printf (" %s is the correct answer. (Moving from %d to ", + item->response, item->count); item->count--; if (item->count > 0) item->count = -1; + printf ("%d)\n\n", item->count); } bin = mnemon_get_bin (mnemon, item->count); -- 2.43.0