From 53631819f4f83b8a327ec5bb96f152bcc1127cc3 Mon Sep 17 00:00:00 2001 From: gewlitys Date: Mon, 30 Jun 2003 15:58:06 +0000 Subject: [PATCH] Quit confirmation dialog no longer drains all cpu; fixes #394 git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1004 8092fc87-c524-0410-9efc-e669fe64eaf9 --- sc2/src/sc2code/confirm.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sc2/src/sc2code/confirm.c b/sc2/src/sc2code/confirm.c index ecf8569a2..91ebeae84 100644 --- a/sc2/src/sc2code/confirm.c +++ b/sc2/src/sc2code/confirm.c @@ -131,7 +131,8 @@ DoConfirmExit (void) { response = !response; DrawConfirmationWindow (response); - } + } + TaskSwitch (); } while (!done); s.frame = F;