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

    r1402 r1438  
    1919  08 Mar 09 GKY Removed variable aurguments from docopyf and unlinkf (not used)
    2020  08 Mar 09 GKY Additional strings move to PCSZs
     21  28 Jun 09 GKY Added AddBackslashToPath() to remove repeatative code.
    2122
    2223***********************************************************************/
     
    208209
    209210      strcpy(s, (CHAR *)mp2);
    210       if (s[strlen(s) - 1] != '\\')
    211         strcat(s, "\\");
     211      AddBackslashToPath(s);
     212      //if (s[strlen(s) - 1] != '\\')
     213      //  strcat(s, "\\");
    212214      strcat(s, "*");
    213215      WinSetDlgItemText(hwnd, UNDEL_ENTRY, s);
Note: See TracChangeset for help on using the changeset viewer.