Deallocating the empty stack's WINDOWs.
This commit is contained in:
parent
c4c129d115
commit
11323275a1
@ -39,6 +39,7 @@ void draw_empty_stacks() {
|
|||||||
for (int i = 0; i < EMPTY_STACKS_NUMBER; i++) {
|
for (int i = 0; i < EMPTY_STACKS_NUMBER; i++) {
|
||||||
box(empty_stack[i], 0, 0);
|
box(empty_stack[i], 0, 0);
|
||||||
wrefresh(empty_stack[i]);
|
wrefresh(empty_stack[i]);
|
||||||
|
delwin(empty_stack[i]);
|
||||||
}
|
}
|
||||||
|
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user