- Timestamp:
 - Apr 7, 2004, 11:13:53 AM (22 years ago)
 - File:
 - 
      
- 1 edited
 
- 
          
  trunk/src/kernel32/profile.cpp (modified) (5 diffs)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
      
trunk/src/kernel32/profile.cpp
r10527 r10574 1 /* $Id: profile.cpp,v 1.3 6 2004-03-16 13:33:00sandervl Exp $ */1 /* $Id: profile.cpp,v 1.37 2004-04-07 09:13:53 sandervl Exp $ */ 2 2 3 3 /* … … 1341 1341 { 1342 1342 if (!section && !entry && !string) 1343 { 1344 PROFILE_FlushFile(); 1343 1345 PROFILE_ReleaseFile(); /* always return FALSE in this case */ 1346 } 1344 1347 else 1348 { 1345 1349 ret = PROFILE_SetString( section, entry, string ); 1350 PROFILE_FlushFile(); 1351 } 1346 1352 } 1347 1353 … … 1389 1395 PROFILE_ReleaseFile(); /* always return FALSE in this case */ 1390 1396 else if (!string) /* delete the named section*/ 1397 { 1391 1398 ret = PROFILE_SetString(section,NULL,NULL); 1399 PROFILE_FlushFile(); 1400 } 1392 1401 else { 1393 1402 PROFILE_DeleteAllKeys(section); … … 1403 1412 string += strlen(string)+1; 1404 1413 } 1405 1414 PROFILE_FlushFile(); 1406 1415 } 1407 1416 } … … 1560 1569 1561 1570 if (PROFILE_Open( filename )) 1571 { 1562 1572 ret = PROFILE_SetString( section, key, (LPCSTR)buf ); 1563 1573 PROFILE_FlushFile(); 1574 } 1564 1575 LeaveCriticalSection( &PROFILE_CritSect ); 1565 1576  
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  