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

    r1402 r1438  
    4040
    4141static PSZ pszSrcFile = __FILE__;
     42
     43PSZ AddBackslashToPath(PSZ pszPathName)
     44{
     45  if (pszPathName[strlen(pszPathName) - 1] != '\\')
     46    strcat(pszPathName,  PCSZ_BACKSLASH);
     47  return pszPathName;
     48}
    4249
    4350// #pragma data_seg(DATA1)
Note: See TracChangeset for help on using the changeset viewer.