projects
/
kub
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1099b6c
)
Fixed card_group_is_run to include last card in number compare
author
Kevin Worth
<kworth@mac-mini.(none)>
Mon, 29 Jan 2007 14:46:08 +0000
(09:46 -0500)
committer
Kevin Worth
<kworth@mac-mini.(none)>
Mon, 29 Jan 2007 14:46:08 +0000
(09:46 -0500)
kub.c
patch
|
blob
|
history
diff --git
a/kub.c
b/kub.c
index d452a0b438f91642948aebaf8e4ff99ef8520562..1a64c8d3f732c837a883f7ee1b983212df560d0b 100644
(file)
--- a/
kub.c
+++ b/
kub.c
@@
-101,6
+101,9
@@
static int card_group_is_run(card_group_t *card_group)
{
return 0;
}
+ }
+ for (i = 0; i < card_group->num_cards; ++i)
+ {
if (card_group->cards[i].number > highest)
{
highest = card_group->cards[i].number;