From c744581711919c39f6916fe0114ff6b6068b4ebd Mon Sep 17 00:00:00 2001 From: Murilo Soares Pereira Date: Fri, 9 Apr 2010 00:37:57 -0300 Subject: [PATCH] The stack initializer now initializes its card also. --- lib/stack.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/stack.c b/lib/stack.c index e42cacc..21fa5d8 100644 --- a/lib/stack.c +++ b/lib/stack.c @@ -11,6 +11,7 @@ void allocate_stack(struct stack **stack) { } void initialize_stack(struct stack *stack) { + initialize_card(stack->card); stack->next = NULL; return;