Changeset 1301 for trunk/dll/chklist.c


Ignore:
Timestamp:
Nov 30, 2008, 6:25:27 AM (17 years ago)
Author:
Gregg Young
Message:

Add flag to tell CheckListProc file is in an archive so it won't try to open it. (Ticket 283) Part of remove or replace with a mutex semaphore DosEnterCriSec where appropriate. (Ticket 308)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/chklist.c

    r1221 r1301  
    1313  22 Mar 07 GKY Use QWL_USER
    1414  20 Aug 07 GKY Move #pragma alloc_text to end for OpenWatcom compat
     15  29 Nov 08 GKY Add flag to tell CheckListProc file is in an archive so it won't try to open it.
    1516
    1617***********************************************************************/
     
    171172            *szBuffer = 0;
    172173            WinSendDlgItemMsg(hwnd, CHECK_LISTBOX, LM_QUERYITEMTEXT,
    173                               MPFROM2SHORT(x, CCHMAXPATH), MPFROMP(szBuffer));
    174             if (*szBuffer)
     174                              MPFROM2SHORT(x, CCHMAXPATH), MPFROMP(szBuffer));
     175            cl = WinQueryWindowPtr(hwnd, QWL_USER);
     176            if (*szBuffer && !(cl->flags & CHECK_ARCHIVE))
    175177              QuickView(hwnd, szBuffer);
    176178          }
Note: See TracChangeset for help on using the changeset viewer.