Changeset 1438 for trunk/dll/grep.c


Ignore:
Timestamp:
Jun 28, 2009, 10:47:00 PM (16 years ago)
Author:
Gregg Young
Message:

Improved drivebar changes; Added AddBackslashToPath() to remove repeatative code. replaced "
" with PCSZ variable; ANY_OBJ added the DosAlloc... (experimental)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/grep.c

    r1402 r1438  
    3232  07 Feb 09 GKY Allow user to turn off alert and/or error beeps in settings notebook.
    3333  08 Mar 09 GKY Additional strings move to String Table
     34  28 Jun 09 GKY Added AddBackslashToPath() to remove repeatative code.
    3435
    3536***********************************************************************/
     
    475476
    476477  // add a mask to search path
    477   if (searchPath[strlen(searchPath) - 1] != '\\')
    478     strcat(searchPath, "\\");
     478  AddBackslashToPath(searchPath);
     479  //if (searchPath[strlen(searchPath) - 1] != '\\')
     480  //  strcat(searchPath, "\\");
    479481  strcat(searchPath, "*");
    480482  // step through all subdirectories
Note: See TracChangeset for help on using the changeset viewer.