From 53a4e8858ba4f7e50e61ae2927a8587fb9101dc6 Mon Sep 17 00:00:00 2001 From: avolkov Date: Fri, 7 Jan 2005 23:22:25 +0000 Subject: [PATCH] Fix for exit confirmation in video player (bug #665) git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1438 8092fc87-c524-0410-9efc-e669fe64eaf9 --- sc2/src/sc2code/libs/video/vidplayer.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sc2/src/sc2code/libs/video/vidplayer.c b/sc2/src/sc2code/libs/video/vidplayer.c index 2d56042cd..6adbf9c76 100644 --- a/sc2/src/sc2code/libs/video/vidplayer.c +++ b/sc2/src/sc2code/libs/video/vidplayer.c @@ -402,7 +402,8 @@ TFB_DoVideoInput (PVOID pIS) if (PulsedInputState.key[KEY_MENU_SELECT] || PulsedInputState.key[KEY_MENU_CANCEL] - || PulsedInputState.key[KEY_MENU_SPECIAL]) + || PulsedInputState.key[KEY_MENU_SPECIAL] + || (GLOBAL (CurrentActivity) & CHECK_ABORT)) { // abort movie TFB_StopVideo (pVIS->CurVideo); return FALSE;