Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/fm3dlg.h
r892 r893 669 669 #define CFGV_USENEWVIEWER 25336 670 670 #define CFGV_GUESSTYPE 25337 671 #define CFGV_PDFVIEWER 25338672 #define CFGV_PDFVIEWERDIR 25339673 671 #define CFGV_VIEWCHILD 25340 674 672 #define CFGV_CHECKMM 25341 675 #define CFGV_PDFVIEWERWPSDEFAULT 25342676 673 677 674 #define CFGH_FRAME 25344 678 #define CFGH_HTTPVIEWER 25345679 675 #define CFGH_HTTPRUN 25346 680 676 #define CFGH_FTPRUN 25347 681 677 #define CFGH_RUNFTPWORKDIR 25348 682 678 #define CFGH_RUNHTTPWORKDIR 25349 683 #define CFGH_VIEWHTTPWORKDIR 25350684 679 #define CFGH_RUNMAILWORKDIR 25351 685 680 #define CFGH_MAILRUN 25352 686 #define CFGH_USEWPSDEFAULTVIEWER 25353687 681 #define CFGH_HTTPRUNWPSDEFAULT 25354 688 682 #define CFGH_FTPRUNWPSDEFAULT 25355 689 #define CFGH_LIBPATHSTRICTHTTPVIEWER 25356690 683 #define CFGH_LIBPATHSTRICTHTTPRUN 25357 691 684 #define CFGH_LIBPATHSTRICTFTPRUN 25358 -
trunk/dll/newview.c
r890 r893 111 111 HPS hps; 112 112 FATTRS fattrs; 113 LONG colors[1 2];113 LONG colors[14]; 114 114 } 115 115 VIEWDATA; … … 162 162 pp++; 163 163 *pp = 0; 164 printf("%s", t); fflush(stdout);165 164 strip_lead_char(t, "<"); 166 165 strip_trail_char(t, ">"); … … 285 284 } 286 285 } 287 else if (!strncmp(urld->url, "@", 1)) { 288 memmove(urld->url, urld->url + 6, strlen(urld->url) + 1); 289 if (*urld->url) { 286 else if (strchr(urld->url, '@')) { 290 287 WinDismissDlg(hwnd, 3); 291 288 break; 292 }293 289 } 294 290 } … … 2270 2266 RECTL Rectl; 2271 2267 POINTS pts; 2272 //CHAR *mailstring;2273 2268 2274 2269 WinQueryWindowRect(hwnd, &Rectl); -
trunk/dll/systemf.c
r889 r893 636 636 BOOL useTermQ = FALSE; 637 637 char szTempdir[CCHMAXPATH]; 638 char szTempPgm[CCHMAXPATH], tempcom[2048], temparg[2048], buf[10] = " &|<>";639 char *offset, *offsetexe, *offsetcom, *offsetcmd, *offsetbtm, *offsetbat;640 UINT offsetquote;638 //char szTempPgm[CCHMAXPATH], tempcom[2048], temparg[2048], buf[10] = " &|<>"; 639 //char *offset, *offsetexe, *offsetcom, *offsetcmd, *offsetbtm, *offsetbat; 640 //UINT offsetquote; 641 641 642 642 typedef struct { … … 685 685 parguments); 686 686 va_end(parguments); 687 offsetexe = strstr(strlwr(pszPgm), ".exe");687 /*offsetexe = strstr(strlwr(pszPgm), ".exe"); 688 688 offsetcmd = strstr(strlwr(pszPgm), ".cmd"); 689 689 offsetcom = strstr(strlwr(pszPgm), ".com"); … … 701 701 offset = offsetbat; 702 702 else { 703 Dos_Error(MB_CANCEL,rc,hwnd,pszSrcFile,__LINE__,GetPString(IDS_NOTDIRECTEXETEXT)); 704 return -1; 703 offset = pszPgm; 705 704 } 706 705 offsetquote = strcspn(pszPgm, buf); … … 718 717 //printf("%s\n %s\n%s %s\n %d %d", 719 718 // pszPgm, szTempPgm, tempcom, temparg, offset, offsetquote); fflush(stdout); 720 } 719 } */ 721 720 if (pszEnvironment) { 722 721 p = &pszEnvironment[strlen(pszEnvironment)] + 1;
Note:
See TracChangeset
for help on using the changeset viewer.