Changeset 1020 for trunk/dll/misc.c
- Timestamp:
- May 27, 2008, 12:35:27 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/misc.c
r1009 r1020 1233 1233 strcat(s, "."); 1234 1234 eos = &s[strlen(s)]; 1235 strcpy(eos, "D etailsLongname");1235 strcpy(eos, "DirCnr.DetailsLongname"); 1236 1236 if (dcd) 1237 1237 bool = &dcd->detailslongname; … … 1241 1241 size = sizeof(BOOL); 1242 1242 PrfQueryProfileData(fmprof, appname, s, (PVOID) bool, &size); 1243 strcpy(eos, "D etailsSubject");1243 strcpy(eos, "DirCnr.DetailsSubject"); 1244 1244 if (dcd) 1245 1245 bool = &dcd->detailssubject; … … 1249 1249 size = sizeof(BOOL); 1250 1250 PrfQueryProfileData(fmprof, appname, s, (PVOID) bool, &size); 1251 strcpy(eos, "D etailsEA");1251 strcpy(eos, "DirCnr.DetailsEA"); 1252 1252 if (dcd) 1253 1253 bool = &dcd->detailsea; … … 1257 1257 size = sizeof(BOOL); 1258 1258 PrfQueryProfileData(fmprof, appname, s, (PVOID) bool, &size); 1259 strcpy(eos, "D etailsSize");1259 strcpy(eos, "DirCnr.DetailsSize"); 1260 1260 if (dcd) 1261 1261 bool = &dcd->detailssize; … … 1265 1265 size = sizeof(BOOL); 1266 1266 PrfQueryProfileData(fmprof, appname, s, (PVOID) bool, &size); 1267 strcpy(eos, "D etailsIcon");1267 strcpy(eos, "DirCnr.DetailsIcon"); 1268 1268 if (dcd) 1269 1269 bool = &dcd->detailsicon; … … 1273 1273 size = sizeof(BOOL); 1274 1274 PrfQueryProfileData(fmprof, appname, s, (PVOID) bool, &size); 1275 strcpy(eos, "D etailsAttr");1275 strcpy(eos, "DirCnr.DetailsAttr"); 1276 1276 if (dcd) 1277 1277 bool = &dcd->detailsattr; … … 1281 1281 size = sizeof(BOOL); 1282 1282 PrfQueryProfileData(fmprof, appname, s, (PVOID) bool, &size); 1283 strcpy(eos, "D etailsCRDate");1283 strcpy(eos, "DirCnr.DetailsCRDate"); 1284 1284 if (dcd) 1285 1285 bool = &dcd->detailscrdate; … … 1289 1289 size = sizeof(BOOL); 1290 1290 PrfQueryProfileData(fmprof, appname, s, (PVOID) bool, &size); 1291 strcpy(eos, "D etailsCRTime");1291 strcpy(eos, "DirCnr.DetailsCRTime"); 1292 1292 if (dcd) 1293 1293 bool = &dcd->detailscrtime; … … 1297 1297 size = sizeof(BOOL); 1298 1298 PrfQueryProfileData(fmprof, appname, s, (PVOID) bool, &size); 1299 strcpy(eos, "D etailsLWDate");1299 strcpy(eos, "DirCnr.DetailsLWDate"); 1300 1300 if (dcd) 1301 1301 bool = &dcd->detailslwdate; … … 1305 1305 size = sizeof(BOOL); 1306 1306 PrfQueryProfileData(fmprof, appname, s, (PVOID) bool, &size); 1307 strcpy(eos, "D etailsLWTime");1307 strcpy(eos, "DirCnr.DetailsLWTime"); 1308 1308 if (dcd) 1309 1309 bool = &dcd->detailslwtime; … … 1313 1313 size = sizeof(BOOL); 1314 1314 PrfQueryProfileData(fmprof, appname, s, (PVOID) bool, &size); 1315 strcpy(eos, "D etailsLADate");1315 strcpy(eos, "DirCnr.DetailsLADate"); 1316 1316 if (dcd) 1317 1317 bool = &dcd->detailsladate; … … 1321 1321 size = sizeof(BOOL); 1322 1322 PrfQueryProfileData(fmprof, appname, s, (PVOID) bool, &size); 1323 strcpy(eos, "D etailsLATime");1323 strcpy(eos, "DirCnr.DetailsLATime"); 1324 1324 if (dcd) 1325 1325 bool = &dcd->detailslatime; … … 1329 1329 size = sizeof(BOOL); 1330 1330 PrfQueryProfileData(fmprof, appname, s, (PVOID) bool, &size); 1331 strcpy(eos, " SubjectInLeftPane");1331 strcpy(eos, "DirCnr.SubjectInLeftPane"); 1332 1332 if (dcd) 1333 1333 bool = &dcd->fSubjectInLeftPane; … … 1337 1337 size = sizeof(BOOL); 1338 1338 PrfQueryProfileData(fmprof, appname, s, (PVOID) bool, &size); 1339 strcpy(eos, " SubjectLengthMax");1339 strcpy(eos, "DirCnr.SubjectLengthMax"); 1340 1340 if (dcd) 1341 1341 bool = &dcd->fSubjectLengthMax; … … 1349 1349 dcd->SubjectDisplayWidth = 0; 1350 1350 else { 1351 strcpy(eos, " SubjectDisplayWidth");1351 strcpy(eos, "DirCnr.SubjectDisplayWidth"); 1352 1352 bool = &dcd->SubjectDisplayWidth; 1353 1353 *bool = SubjectDisplayWidth; … … 1364 1364 SubjectDisplayWidth = 0; 1365 1365 else { 1366 strcpy(eos, " SubjectDisplayWidth");1366 strcpy(eos, "DirCnr.SubjectDisplayWidth"); 1367 1367 bool = &SubjectDisplayWidth; 1368 1368 *bool = SubjectDisplayWidth;
Note:
See TracChangeset
for help on using the changeset viewer.