The stack initializer now initializes its card also.

This commit is contained in:
Murilo Soares Pereira 2010-04-09 00:37:57 -03:00
parent db469c318d
commit c744581711

View File

@ -11,6 +11,7 @@ void allocate_stack(struct stack **stack) {
} }
void initialize_stack(struct stack *stack) { void initialize_stack(struct stack *stack) {
initialize_card(stack->card);
stack->next = NULL; stack->next = NULL;
return; return;