X-Git-Url: https://git.cworth.org/git?p=mnemon;a=blobdiff_plain;f=mnemon.c;h=a7c4c6194ef18a2293f1bcbe23d3c23dd4e111fe;hp=321ab1433a9dd235e738354ba36ecc5f2e029acf;hb=1df7be08910593c0bdd91489578d094e54e36ad2;hpb=13a54167ae37b75df8b929f533aa44096d59b17e diff --git a/mnemon.c b/mnemon.c index 321ab14..a7c4c61 100644 --- a/mnemon.c +++ b/mnemon.c @@ -889,13 +889,6 @@ mnemon_handle_response (mnemon_t *mnemon, item->score = 1; mnemon->unlearned--; printf ("You got it!"); - if (mnemon->to_introduce == 0 && - mnemon->unlearned == 0 && - mnemon->to_master == 0) - { - mnemon->to_master = 10; - mnemon->mastered = 0; - } } else if (item->score < 0) { printf ("Yes---just give me %d more.", - item->score); @@ -925,6 +918,14 @@ mnemon_handle_response (mnemon_t *mnemon, } } + if (mnemon->to_introduce == 0 && + mnemon->unlearned == 0 && + mnemon->to_master == 0) + { + mnemon->to_master = 10; + mnemon->mastered = 0; + } + printf (" "); if (mnemon->to_introduce) printf ("%d to come. ", mnemon->to_introduce);