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

    r1409 r1438  
    6666  08 Mar 09 GKY Additional strings move to PCSZs in init.c & String Table
    6767  15 Mar 09 GKY Use WriteDetailsSwitchs to save detail switch changes to the ini file.
     68  28 Jun 09 GKY Added AddBackslashToPath() to remove repeatative code.
    6869
    6970***********************************************************************/
     
    28992900            strcpy(ofile, cmp->rightdir);
    29002901          else
    2901             strcpy(ofile, cmp->leftdir);
    2902           if (ofile[strlen(ofile) - 1] != '\\')
    2903             strcat(ofile, "\\");
     2902            strcpy(ofile, cmp->leftdir);
     2903          AddBackslashToPath(ofile);
     2904          //if (ofile[strlen(ofile) - 1] != '\\')
     2905          //  strcat(ofile, "\\");
    29042906          strcat(ofile, pci->pszDisplayName);
    29052907          if (*compare) {
Note: See TracChangeset for help on using the changeset viewer.