CVSROOT:        /cvs
Module name:    src
Changes by:     schwa...@cvs.openbsd.org        2014/05/08 20:47:25

Modified files:
        games/cribbage : io.c 

Log message:
After entering an invalid three-letter card name, one letter card names
stopped working because the third letter remained in the buffer,
incard() skipped the NUL and used the old garbage.
Fix this bug reported by pjanzen@, but in a simpler way than he
suggested, by just clearing any trailing garbage from the buffer.
ok pjanzen@

Reply via email to