oboeru

a collection of simple, scriptable flashcard programs
git clone anongit@rnpnr.xyz:oboeru.git
Log | Files | Refs | Feed | README | LICENSE

Commit: e357fbf2eb1bff066544ee7fbee753739bbd28e3
Parent: 752c483204700cae1592000c47d8313a0585e730
Author: Randy Palamar
Date:   Fri, 20 Aug 2021 09:30:15 -0600

add mininum increase to current time when bumping card

Diffstat:
Moboeru.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/oboeru.c b/oboeru.c @@ -177,7 +177,7 @@ bump_card(Card *card, int8_t status) switch (status) { case CARD_PASS: if (diff < MINIMUM_INCREASE) { - card->due += MINIMUM_INCREASE; + card->due = t + MINIMUM_INCREASE; return 1; } else { card->due = t + diff * GROWTH_RATE;