Ignore:
Timestamp:
Mar 2, 2000, 8:17:21 PM (25 years ago)
Author:
sandervl
Message:

setcurrentdir fix + create shell dirs + keys during kernel32 init

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kernel32/directory.cpp

    r2802 r2973  
    1 /* $Id: directory.cpp,v 1.15 2000-02-16 14:25:38 sandervl Exp $ */
     1/* $Id: directory.cpp,v 1.16 2000-03-02 19:17:20 sandervl Exp $ */
    22
    33/*
     
    131131
    132132  strcpy(tmp, lpPathName);
    133   if(tmp[len -1] == '\\')
     133  //SvL: Don't remove terminating backslash if it wants to chdir to root dir
     134  if(tmp[len -1] == '\\' && len != 1)
    134135    tmp[len -1] = 0;
    135136
Note: See TracChangeset for help on using the changeset viewer.