Changeset 11330


Ignore:
Timestamp:
Aug 28, 1999, 9:38:15 AM (26 years ago)
Author:
sandervl
Message:

removed call to setfullpath

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified tags/trunk/src/peldr/pe.cpp

    r11315 r11330  
    1 /* $Id: pe.cpp,v 1.7 1999-08-26 07:48:14 sandervl Exp $ */
     1/* $Id: pe.cpp,v 1.8 1999-08-28 07:38:15 sandervl Exp $ */
    22
    33/*
     
    7777 HMODULE hmodPMWin = 0, hmodKernel32 = 0;
    7878 WINEXCEPTION_FRAME exceptFrame;
    79  ULONG curdisk, curlogdisk, flength = CCHMAXPATH;
    8079
    8180  rc = DosLoadModule(exeName, sizeof(exeName), "PMWIN.DLL", &hmodPMWin);
     
    125124        szCmdLine++;
    126125
    127   DosQueryCurrentDisk(&curdisk, &curlogdisk);
    128   DosQueryCurrentDir(curdisk, &fullpath[3], &flength);
    129   fullpath[0] = 'A' + (curdisk-1);
    130   fullpath[1] = ':';
    131   fullpath[2] = '\\';
    132   strcat(fullpath, "\\");
    133   strcat(fullpath, exeName);
    134   WinExe->setFullPath(fullpath);
    135126  WinExe->setCommandLine(szCmdLine);
    136127
Note: See TracChangeset for help on using the changeset viewer.