Changeset 7063 for trunk/src/kernel32/directory.cpp
- Timestamp:
- Oct 15, 2001, 7:10:55 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/directory.cpp
r6511 r7063 1 /* $Id: directory.cpp,v 1. 39 2001-08-10 19:32:26sandervl Exp $ */1 /* $Id: directory.cpp,v 1.40 2001-10-15 17:10:54 sandervl Exp $ */ 2 2 3 3 /* … … 53 53 static char DIR_Windows[MAX_PATHNAME_LEN]; 54 54 static char DIR_System[MAX_PATHNAME_LEN]; 55 static BOOL fDirInit = FALSE; 55 56 56 57 //****************************************************************************** … … 73 74 int len; 74 75 76 if(fDirInit == TRUE) return; 77 78 fDirInit = TRUE; 75 79 strcpy(DIR_System, kernel32Path); 76 80 len = strlen(DIR_System); … … 100 104 dprintf(("System32 dir: %s", DIR_System)); 101 105 } 106 //***************************************************************************** 107 //***************************************************************************** 108 void InitDirectoriesCustom(char *szSystemDir, char *szWindowsDir) 109 { 110 int len; 111 112 if(fDirInit == TRUE) return; 113 fDirInit = TRUE; 114 115 strcpy(DIR_System, szSystemDir); 116 len = strlen(DIR_System); 117 if(DIR_System[len-1] == '\\') { 118 DIR_System[len-1] = 0; 119 } 120 strcpy(DIR_Windows, szWindowsDir); 121 len = strlen(DIR_Windows); 122 if(DIR_Windows[len-1] == '\\') { 123 DIR_Windows[len-1] = 0; 124 } 125 126 dprintf(("Windows dir: %s", DIR_Windows)); 127 dprintf(("System32 dir: %s", DIR_System)); 128 } 102 129 /***************************************************************************** 103 130 * Name : GetCurrentDirectoryA
Note:
See TracChangeset
for help on using the changeset viewer.