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:
@@ -1,4 +1,5 @@
|
||||
Changes towards version 0.4:
|
||||
- Fixed Roster-F10-Quit bug (#591), - Michael
|
||||
- Restructuring of the unix build scripts.
|
||||
Also, interrupted dependency builds are now detected. - SvdB
|
||||
- Unix build: Make it possible to use another directory than the current
|
||||
|
||||
@@ -169,7 +169,9 @@ RosterCleanup (PMENU_STATE pMS)
|
||||
{
|
||||
if (pMS->flash_task)
|
||||
{
|
||||
Task_SetState (pMS->flash_task, TASK_EXIT);
|
||||
UnlockMutex (GraphicsLock);
|
||||
ConcludeTask (pMS->flash_task);
|
||||
LockMutex (GraphicsLock);
|
||||
pMS->flash_task = 0;
|
||||
}
|
||||
|
||||
@@ -211,10 +213,10 @@ DoModifyRoster (PMENU_STATE pMS)
|
||||
|
||||
if (GLOBAL (CurrentActivity) & CHECK_ABORT)
|
||||
{
|
||||
pMS->CurFrame = 0;
|
||||
LockMutex (GraphicsLock);
|
||||
RosterCleanup (pMS);
|
||||
UnlockMutex (GraphicsLock);
|
||||
pMS->CurFrame = 0;
|
||||
|
||||
return (FALSE);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user