Changeset 1498 for trunk/dll/misc.c
- Timestamp:
- Jan 18, 2010, 1:57:01 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/misc.c
r1497 r1498 6 6 7 7 Copyright (c) 1993-98 M. Kimes 8 Copyright (c) 2003, 20 09Steven H. Levine8 Copyright (c) 2003, 2010 Steven H. Levine 9 9 10 10 11 Jun 03 SHL Add JFS and FAT32 support … … 65 65 21 Dec 09 GKY Allow command menu reorder without changing the "ID" or hot key for a command. 66 66 Added load_inicommand to load the IDs from the ini file. 67 17 JAN 10 GKY Changes to get working with Watcom 1.9 Beta (1/16/10). Mostly cast CHAR CONSTANT * as CHAR *. 67 68 68 69 ***********************************************************************/ … … 1057 1058 *bool = *bool ? FALSE : TRUE; 1058 1059 if (savename && *savename) 1059 PrfWriteProfileData(fmprof, appname, savename, bool, sizeof(BOOL));1060 PrfWriteProfileData(fmprof, appname, (CHAR *) savename, bool, sizeof(BOOL)); 1060 1061 } 1061 1062 WinSendMsg(hwndMenu, MM_SETITEMATTR, … … 1549 1550 1550 1551 strcpy(eos, "Pos");; 1551 PrfWriteProfileData(fmprof, FM3Str, s, NULL, 0);1552 PrfWriteProfileData(fmprof, (CHAR *) FM3Str, s, NULL, 0); 1552 1553 strcpy(eos, "Sort"); 1553 PrfWriteProfileData(fmprof, FM3Str, s, NULL, 0);1554 PrfWriteProfileData(fmprof, (CHAR *) FM3Str, s, NULL, 0); 1554 1555 strcpy(eos, "Filter"); 1555 PrfWriteProfileData(fmprof, FM3Str, s, NULL, 0);1556 PrfWriteProfileData(fmprof, (CHAR *) FM3Str, s, NULL, 0); 1556 1557 strcpy(eos, "View"); 1557 PrfWriteProfileData(fmprof, FM3Str, s, NULL, 0);1558 PrfWriteProfileData(fmprof, (CHAR *) FM3Str, s, NULL, 0); 1558 1559 strcpy(eos, "Dir"); 1559 PrfWriteProfileString(fmprof, FM3Str, s, NULL);1560 PrfWriteProfileString(fmprof, (CHAR *) FM3Str, s, NULL); 1560 1561 if (statename && strstr(s, ".0.")) { 1561 1562 strcpy(s, statename); … … 1563 1564 eos = &s[strlen(s)]; 1564 1565 strcpy(eos, "LastTreePos"); 1565 PrfWriteProfileData(fmprof, FM3Str, s, NULL, 0);1566 PrfWriteProfileData(fmprof, (CHAR *) FM3Str, s, NULL, 0); 1566 1567 strcpy(eos, "MySizeLastTime"); 1567 PrfWriteProfileData(fmprof, FM3Str, s, NULL, 0);1568 PrfWriteProfileData(fmprof, (CHAR *) FM3Str, s, NULL, 0); 1568 1569 strcpy(eos, "Toolbar"); 1569 PrfWriteProfileString(fmprof, FM3Str, s, NULL);1570 PrfWriteProfileString(fmprof, (CHAR *) FM3Str, s, NULL); 1570 1571 strcpy(eos, "TargetDir"); 1571 PrfWriteProfileString(fmprof, FM3Str, s, NULL);1572 PrfWriteProfileString(fmprof, (CHAR *) FM3Str, s, NULL); 1572 1573 } 1573 1574 … … 1582 1583 1583 1584 sprintf(szKey, "%sDirCnrPos.%lu", szPrefix, ulTemp); 1584 PrfWriteProfileData(fmprof, FM3Str, szKey, NULL, 0);1585 PrfWriteProfileData(fmprof, (CHAR *) FM3Str, szKey, NULL, 0); 1585 1586 sprintf(szKey, "%sDirCnrSort.%lu", szPrefix, ulTemp); 1586 PrfWriteProfileData(fmprof, FM3Str, szKey, NULL, 0);1587 PrfWriteProfileData(fmprof, (CHAR *) FM3Str, szKey, NULL, 0); 1587 1588 sprintf(szKey, "%sDirCnrFilter.%lu", szPrefix, ulTemp); 1588 PrfWriteProfileData(fmprof, FM3Str, szKey, NULL, 0);1589 PrfWriteProfileData(fmprof, (CHAR *) FM3Str, szKey, NULL, 0); 1589 1590 sprintf(szKey, "%sDirCnrView.%lu", szPrefix, ulTemp); 1590 PrfWriteProfileData(fmprof, FM3Str, szKey, NULL, 0);1591 PrfWriteProfileData(fmprof, (CHAR *) FM3Str, szKey, NULL, 0); 1591 1592 sprintf(szKey, "%sDirCnrDir.%lu", szPrefix, ulTemp); 1592 PrfWriteProfileString(fmprof, FM3Str, szKey, NULL);1593 PrfWriteProfileString(fmprof, (CHAR *) FM3Str, szKey, NULL); 1593 1594 sprintf(szKey, "%sDirCnr.%lu.", szPrefix, ulTemp); 1594 1595 } … … 2156 2157 if (!DosQueryProcAddr(hmod, 2157 2158 ORD_DOS32QUERYEXTLIBPATH, 2158 NULL, (PFN *) & 2159 NULL, (PFN *) &DQELIBPATH)) { 2159 2160 DQELIBPATH(beg, BEGIN_LIBPATH); 2160 2161 DQELIBPATH(end, END_LIBPATH);
Note:
See TracChangeset
for help on using the changeset viewer.