Changeset 1851 for trunk/dll/sortcnr.c


Ignore:
Timestamp:
Aug 14, 2015, 11:29:17 PM (10 years ago)
Author:
Gregg Young
Message:

Improved pci checks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/sortcnr.c

    r1673 r1851  
    2828#include "sortcnr.h"
    2929#include "valid.h"                      // TestCDates
     30#if 0
     31#define  __PMPRINTF__
     32#include "PMPRINTF.H"
     33#endif
    3034
    3135static SHORT SortCnr(PMINIRECORDCORE p1, PMINIRECORDCORE p2, INT Sortflags);
     
    6266  if (SortFlags & SORT_NOSORT)
    6367    return 0;
     68  if (!strcmp(pCI1->pszFileName, NullStr) || !strcmp(pCI2->pszFileName, NullStr)) {
     69    return 0;
     70  }
    6471  if (SortFlags && pCI1->pszFileName + 3 && pCI2->pszFileName + 3) {
    6572    if (SortFlags & SORT_DIRSFIRST) {
Note: See TracChangeset for help on using the changeset viewer.