Changeset 1303 for trunk/dll/mainwnd.c
- Timestamp:
- Nov 30, 2008, 6:31:35 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/mainwnd.c
r1224 r1303 69 69 29 Aug 08 JBS Ticket 259: Support saving/restoring target directories with states (except the shutdown state) 70 70 01 Sep 08 GKY Save toolbars immediately on change. Add bmps for default toolbars 71 29 Nov 08 GKY Remove or replace with a mutex semaphore DosEnterCriSec where appropriate. 71 72 72 73 ***********************************************************************/ … … 1401 1402 1402 1403 case WM_CONTEXTMENU: 1403 DosEnterCritSec(); 1404 //DosEnterCritSec(); //GKY 11-29-08 1405 DosRequestMutexSem(hmtxFM2Globals, SEM_INDEFINITE_WAIT); 1404 1406 if (!hwndMenu) 1405 1407 hwndMenu = WinLoadMenu(hwnd, FM3ModHandle, ID_BUTTONMENU); 1406 DosExitCritSec(); 1408 DosReleaseMutexSem(hmtxFM2Globals); 1409 //DosExitCritSec(); 1407 1410 SetPresParams(hwndMenu, NULL, NULL, NULL, GetPString(IDS_10SYSPROTEXT)); 1408 1411 if (PopupMenu(hwnd, hwnd, hwndMenu))
Note:
See TracChangeset
for help on using the changeset viewer.