Changeset 1438 for trunk/dll/grep2.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/grep2.c

    r1400 r1438  
    367367          strcpy(simple, p);
    368368        else if (*s) {
    369           strcpy(simple, "\\");
     369          strcpy(simple, PCSZ_BACKSLASH);
    370370          strcat(simple, s);
    371371          *s = 0;
     
    590590              if (s[strlen(s) - 1] != '\\') {
    591591                lLen++;
    592                 strcat(s, "\\");
     592                strcat(s, PCSZ_BACKSLASH);
    593593              }
    594594              rstrip(s);
     
    647647          if (s[strlen(s) - 1] != '\\') {
    648648            lLen++;
    649             strcat(s, "\\");
     649            strcat(s, PCSZ_BACKSLASH);
    650650          }
    651651          rstrip(s);
Note: See TracChangeset for help on using the changeset viewer.