Ignore:
Timestamp:
Feb 21, 2002, 8:24:22 PM (23 years ago)
Author:
umoeller
Message:

misc. updates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/helpers/dosh.c

    r137 r142  
    30463046
    30473047    strcpy(szFilename, pszExisting);
    3048     pszLastDot = strrchr(szFilename, '.');
    3049     if (!pszLastDot)
     3048
     3049    if (!(pszLastDot = strrchr(szFilename, '.')))
    30503050        // no dot in filename:
    30513051        pszLastDot = szFilename + strlen(szFilename);
     3052
    30523053    do
    30533054    {
     
    34153416    {
    34163417        ULONG   cbBuf = CCHMAXPATH - 3;
    3417         *pszBuf = ulCurDisk + 'A' - 1;
    3418         *(pszBuf + 1) = ':';
    3419         *(pszBuf + 2) = '\\';
     3418        pszBuf[0] = ulCurDisk + 'A' - 1;
     3419        pszBuf[1] = ':';
     3420        pszBuf[2] = '\\';
     3421        pszBuf[3] = '\0';
    34203422        arc = DosQueryCurrentDir(0, pszBuf + 3, &cbBuf);
    34213423    }
     
    39813983 */
    39823984
    3983 VOID GetInfoSegs(VOID)
     3985static VOID GetInfoSegs(VOID)
    39843986{
    39853987    SEL     GlobalInfoSegSelector,
Note: See TracChangeset for help on using the changeset viewer.