Changeset 1410 for trunk/dll/misc.c
- Timestamp:
- Mar 29, 2009, 5:43:09 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/misc.c
r1409 r1410 58 58 08 Mar 09 GKY Add WriteDetailsSwitches and use LoadDetailsSwitches to replace in line code 59 59 08 Mar 09 GKY Removed variable aurguments from docopyf and unlinkf (not used) 60 28 Mar 09 GKY Add RemoveOldCnrSwitches to remove pre 3.16 style ini keys; 61 add State.version key for check 60 62 61 63 ***********************************************************************/ … … 1487 1489 strcpy(eos, "DetailsLATime"); 1488 1490 PrfWriteProfileData(fmprof, appname, s, NULL, 0); 1491 1492 #ifdef NEVER 1493 // activate this code if we ever allow setting of subject location/length per container GKY 3-28-09 1489 1494 strcpy(eos, "SubjectInLeftPane"); 1490 1495 PrfWriteProfileData(fmprof, appname, s, NULL, 0); … … 1493 1498 strcpy(eos, "SubjectDisplayWidth"); 1494 1499 PrfWriteProfileData(fmprof, appname, s, NULL, 0); 1500 #endif 1501 1495 1502 strcpy(eos, "Pos");; 1496 1503 PrfWriteProfileData(fmprof, FM3Str, s, NULL, 0); … … 1517 1524 } 1518 1525 1526 } 1527 1528 /** 1529 * Removes the pre 3.16 style ini entries when a state is deleted 1530 */ 1531 VOID RemoveOldCnrSwitches(PCSZ szPrefix, ULONG ulTemp) 1532 { 1533 CHAR szKey[STATE_NAME_MAX_BYTES + 80]; 1534 1535 sprintf(szKey, "%sDirCnrPos.%lu", szPrefix, ulTemp); 1536 PrfWriteProfileData(fmprof, FM3Str, szKey, NULL, 0); 1537 sprintf(szKey, "%sDirCnrSort.%lu", szPrefix, ulTemp); 1538 PrfWriteProfileData(fmprof, FM3Str, szKey, NULL, 0); 1539 sprintf(szKey, "%sDirCnrFilter.%lu", szPrefix, ulTemp); 1540 PrfWriteProfileData(fmprof, FM3Str, szKey, NULL, 0); 1541 sprintf(szKey, "%sDirCnrView.%lu", szPrefix, ulTemp); 1542 PrfWriteProfileData(fmprof, FM3Str, szKey, NULL, 0); 1543 sprintf(szKey, "%sDirCnrDir.%lu", szPrefix, ulTemp); 1544 PrfWriteProfileString(fmprof, FM3Str, szKey, NULL); 1545 sprintf(szKey, "%sDirCnr.%lu.", szPrefix, ulTemp); 1519 1546 } 1520 1547
Note:
See TracChangeset
for help on using the changeset viewer.