]> git.cworth.org Git - mnemon/commit
Fix bug when there are no new items to introduce
authorCarl Worth <cworth@cworth.org>
Fri, 27 Mar 2009 22:17:18 +0000 (15:17 -0700)
committerCarl Worth <cworth@cworth.org>
Sat, 28 Mar 2009 17:57:42 +0000 (10:57 -0700)
commitcb853e60989f34c4608ac3c521bf90a01d0387d9
treee4075f4e96d5bbba5ae9f1b3394450585c2d90af
parentbc28e389a7758c1450a90bf5290ba216d5ea1abe
Fix bug when there are no new items to introduce

Previously, mnemon would keep challenging infinitely (waiting for 10
new items to be introduced). Instead, we now decrement the to_introduce
counter every time an item is selected from the smallest-number bin.
mnemon.c