Ignore:
Timestamp:
Jan 26, 2000, 12:26:36 PM (26 years ago)
Author:
sandervl
Message:

don't modify cmd line in PIB structure

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/peldr/initterm.cpp

    r2513 r2519  
    1 /* $Id: initterm.cpp,v 1.4 2000-01-25 20:27:58 sandervl Exp $ */
     1/* $Id: initterm.cpp,v 1.5 2000-01-26 11:26:36 sandervl Exp $ */
    22
    33/*
     
    137137 ULONG  ulSysinfo, flAllocMem;
    138138
    139   tmp = filename;
     139  strcpy(szFileName, filename);
     140  tmp = szFileName;
    140141  while(*tmp != ' ' && *tmp != 0)
    141142        tmp++;
    142143  *tmp = 0;
    143144
    144   strcpy(szFileName, filename);
    145145  if(!strchr(szFileName, '.')) {
    146146        strcat(szFileName,".EXE");
Note: See TracChangeset for help on using the changeset viewer.