summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main_stack.h2
-rw-r--r--src/ui.c6
2 files changed, 6 insertions, 2 deletions
diff --git a/src/main_stack.h b/src/main_stack.h
index a3ead88..aa2d420 100644
--- a/src/main_stack.h
+++ b/src/main_stack.h
@@ -4,7 +4,7 @@
#include <assert.h>
#include "card.h"
-#define MAX_MAIN_STACK_CARDS 24
+#define MAX_MAIN_STACK_CARDS 104
typedef struct
{
diff --git a/src/ui.c b/src/ui.c
index e6c0d63..04938c5 100644
--- a/src/ui.c
+++ b/src/ui.c
@@ -389,7 +389,11 @@ void ui_display_wnd_final_scores(const player_list_t *pl, const uint8_t num_play
}
wrefresh(w_final_scores);
- while (KEY_RETURN != wgetch(w_final_scores));
+
+ int key;
+ do {
+ key = wgetch(w_final_scores);
+ } while (KEY_RETURN != key && KEY_ESCAPE != key);
}
uint8_t ui_choose_card(hand_t *h)