From 429115e21408a93b36c864b1611a799a393e482b Mon Sep 17 00:00:00 2001 From: Anri Kennel Date: Thu, 25 Mar 2021 14:49:04 +0100 Subject: [PATCH] fix waiting time after choice for linux --- blackjack.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/blackjack.c b/blackjack.c index 1cac193..537f6fd 100644 --- a/blackjack.c +++ b/blackjack.c @@ -331,6 +331,7 @@ int main() { printf("\n"); printf("You decided to keep your current values. You can no longer have more cards. Your final score is : %d\n", sum1); } + if(isWindows() == 1) getchar(); waitUser(); clearUserScreen(); @@ -398,6 +399,7 @@ int main() { printf("\n"); printf("You decided to keep your current values. You can no longer have more cards. Your final score is : %d\n", sum2); } + if(isWindows() == 1) getchar(); waitUser(); clearUserScreen();