Changeset 1367 for trunk/dll/grep2.c


Ignore:
Timestamp:
Jan 2, 2009, 12:09:40 AM (17 years ago)
Author:
Gregg Young
Message:

Fix minor issue with passing path name to seek and scan

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/grep2.c

    r1366 r1367  
    6262#include "fortify.h"
    6363#include "excputil.h"                   // xbeginthread
     64#include "valid.h"                      // IsFile
    6465
    6566#pragma data_seg(DATA1)
     
    214215    }
    215216    GrepInfo = mp2;
    216     if (GrepInfo->szGrepPath)
     217    if (GrepInfo->szGrepPath && IsFile(GrepInfo->szGrepPath) == 0) {
    217218      BldFullPathName(lastmask, GrepInfo->szGrepPath, "*");
     219    }
    218220    WinSetWindowULong(hwnd, QWL_USER, *(HWND *) GrepInfo->hwnd);
    219221    WinSendDlgItemMsg(hwnd,
Note: See TracChangeset for help on using the changeset viewer.