Changeset 898
- Timestamp:
- Dec 31, 2007, 1:41:15 AM (18 years ago)
- Location:
- trunk/dll
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/fm3dlg.h
r896 r898 673 673 674 674 #define CFGH_FRAME 25344 675 #define CFGH_NOMAILTOMAILRUN 25345 675 676 #define CFGH_HTTPRUN 25346 676 677 #define CFGH_FTPRUN 25347 -
trunk/dll/fm3dll.h
r896 r898 1415 1415 fFM2Deletes, fAutoAddAllDirs, fConfirmTarget, fChangeTarget, 1416 1416 fFirstTime, fShowTarget, fNoFinger, fDrivebarHelp, fCheckMM, 1417 fSubjectLengthMax, fNoLargeFileSupport, 1417 fSubjectLengthMax, fNoLargeFileSupport, fNoMailtoMailRun, 1418 1418 fHttpRunWPSDefault, fFtpRunWPSDefault, fLibPathStrictMailRun, 1419 1419 fLibPathStrictHttpRun, fLibPathStrictFtpRun; -
trunk/dll/fm3res.dlg
r896 r898 1962 1962 AUTOCHECKBOX "Use WPS default for run ftp", 1963 1963 CFGH_FTPRUNWPSDEFAULT, 4, 110, 156, 10 1964 AUTOCHECKBOX "Don't use <mailto> wrapper", 1965 CFGH_NOMAILTOMAILRUN, 4, 98, 156, 10 1964 1966 AUTOCHECKBOX "Use LIBPATHSTRICT for run http", 1965 1967 CFGH_LIBPATHSTRICTHTTPRUN, 162, 122, 156, 10 -
trunk/dll/init.c
r896 r898 1206 1206 PrfQueryProfileData(fmprof, appname, "HttpRunDir", httprundir, &size); 1207 1207 size = sizeof(mailrundir); 1208 PrfQueryProfileData(fmprof, appname, "MailRun ", mailrun, &size);1208 PrfQueryProfileData(fmprof, appname, "MailRunDir", mailrundir, &size); 1209 1209 size = sizeof(lasttoolbox); 1210 1210 PrfQueryProfileData(fmprof, FM3Str, "LastToolBox", lasttoolbox, … … 1218 1218 size = sizeof(BOOL); 1219 1219 PrfQueryProfileData(fmprof, appname, "LibPathStrictMailRun", &fLibPathStrictMailRun, 1220 &size); 1221 size = sizeof(BOOL); 1222 PrfQueryProfileData(fmprof, appname, "NoMailtoMailRun", &fNoMailtoMailRun, 1220 1223 &size); 1221 1224 size = sizeof(BOOL); -
trunk/dll/newview.c
r896 r898 154 154 remove_first_occurence_of_character("\n", pszSrc); 155 155 if (!strstr(pszSrc, " ")){ 156 if (!stristr(pszSrc, "<mailto:") ) {156 if (!stristr(pszSrc, "<mailto:") && !fNoMailtoMailRun) { 157 157 strip_lead_char("<", pszSrc); 158 158 strip_trail_char(">", pszSrc); … … 163 163 } 164 164 else { 165 strip_lead_char("<", pszSrc); 166 strip_trail_char(">", pszSrc); 165 167 return pszSrc; 166 168 } … … 179 181 pszCharCounter++; 180 182 *pszCharCounter = 0; 181 if (!stristr(pszSrc, "<mailto:") ) {183 if (!stristr(pszSrc, "<mailto:") && !fNoMailtoMailRun) { 182 184 strip_lead_char("<", pszSrc); 183 185 strip_trail_char(">", pszSrc); … … 188 190 } 189 191 else { 192 strip_lead_char("<", pszSrc); 193 strip_trail_char(">", pszSrc); 190 194 return pszSrc; 191 195 } -
trunk/dll/notebook.c
r896 r898 544 544 WinCheckButton(hwnd, CFGH_LIBPATHSTRICTFTPRUN, fLibPathStrictFtpRun); 545 545 WinCheckButton(hwnd, CFGH_LIBPATHSTRICTMAILRUN, fLibPathStrictMailRun); 546 WinCheckButton(hwnd, CFGH_NOMAILTOMAILRUN, fNoMailtoMailRun); 546 547 return 0; 547 548 … … 702 703 PrfWriteProfileData(fmprof, appname, "LibPathStrictMailRun", 703 704 &fLibPathStrictMailRun, sizeof(BOOL)); 705 fNoMailtoMailRun = WinQueryButtonCheckstate(hwnd, CFGH_NOMAILTOMAILRUN); 706 PrfWriteProfileData(fmprof, appname, "NoMailtoMailRun", 707 &fNoMailtoMailRun, sizeof(BOOL)); 704 708 break; 705 709 }
Note:
See TracChangeset
for help on using the changeset viewer.