Changeset 543 for trunk/src/kernel32/profile.cpp
- Timestamp:
- Aug 18, 1999, 12:56:53 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/profile.cpp
r541 r543 1 /* $Id: profile.cpp,v 1.1 2 1999-08-18 08:42:25sandervl Exp $ */1 /* $Id: profile.cpp,v 1.13 1999-08-18 10:56:53 sandervl Exp $ */ 2 2 3 3 /* … … 506 506 /* check for path */ 507 507 508 if ( !strchr( filename,'/') ||509 !strchr( filename,'\\') ||508 if ((!strchr( filename,'/') && 509 !strchr( filename,'\\')) || 510 510 !strchr( filename,':')) 511 511 { … … 905 905 PROFILE_WineProfile = PROFILE_Load( f ); 906 906 fclose( f ); 907 strncpy(PROFILE_WineIniUsed,buffer,MAX_PATHNAME_LEN-1);907 strncpy(PROFILE_WineIniUsed,buffer,MAX_PATHNAME_LEN-1); 908 908 return 1; 909 909 } … … 1177 1177 BOOL ret = FALSE; 1178 1178 1179 dprintf(("WritePrivateProfileStringA: %s %s %s", section, entry, string)); 1179 1180 EnterCriticalSection( &PROFILE_CritSect ); 1180 1181 … … 1398 1399 INT x; 1399 1400 1401 dprintf(("WriteOutProfiles")); 1400 1402 EnterCriticalSection(&PROFILE_CritSect); 1401 1403 PROFILE_FlushFile(); //flash current
Note:
See TracChangeset
for help on using the changeset viewer.