F10-Quit from roster works now (Bug #591) - Michael

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1350 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
mcmartin
2004-04-07 03:14:09 +00:00
parent fec3656a6d
commit 589a8fa7ca
2 changed files with 5 additions and 2 deletions
+1
View File
@@ -1,4 +1,5 @@
Changes towards version 0.4: Changes towards version 0.4:
- Fixed Roster-F10-Quit bug (#591), - Michael
- Restructuring of the unix build scripts. - Restructuring of the unix build scripts.
Also, interrupted dependency builds are now detected. - SvdB Also, interrupted dependency builds are now detected. - SvdB
- Unix build: Make it possible to use another directory than the current - Unix build: Make it possible to use another directory than the current
+4 -2
View File
@@ -169,7 +169,9 @@ RosterCleanup (PMENU_STATE pMS)
{ {
if (pMS->flash_task) if (pMS->flash_task)
{ {
Task_SetState (pMS->flash_task, TASK_EXIT); UnlockMutex (GraphicsLock);
ConcludeTask (pMS->flash_task);
LockMutex (GraphicsLock);
pMS->flash_task = 0; pMS->flash_task = 0;
} }
@@ -211,10 +213,10 @@ DoModifyRoster (PMENU_STATE pMS)
if (GLOBAL (CurrentActivity) & CHECK_ABORT) if (GLOBAL (CurrentActivity) & CHECK_ABORT)
{ {
pMS->CurFrame = 0;
LockMutex (GraphicsLock); LockMutex (GraphicsLock);
RosterCleanup (pMS); RosterCleanup (pMS);
UnlockMutex (GraphicsLock); UnlockMutex (GraphicsLock);
pMS->CurFrame = 0;
return (FALSE); return (FALSE);
} }