]> git.cworth.org Git - kub/commit
Fix card_draw for multi-digit tiles.
authorCarl Worth <cworth@cworth.org>
Tue, 20 Feb 2007 17:44:35 +0000 (09:44 -0800)
committerCarl Worth <cworth@cworth.org>
Tue, 20 Feb 2007 17:44:35 +0000 (09:44 -0800)
commit120bfca340887b5c69f877075c03a3ecddcedccf
tree93e52b330fdef6ef23d2638bb15b9098858741aa
parentaa182357491c62640cb70406359af1e5ead2f8e0
Fix card_draw for multi-digit tiles.

Previously, for tiles > 9 we were just using the next larger
character values in ACII above '9'. Oops! Now, we're properly
using snprintf to format the number as an integer within the
string.
kub.c