Changeset 893 for trunk/dll


Ignore:
Timestamp:
Dec 29, 2007, 12:16:41 AM (18 years ago)
Author:
Gregg Young
Message:

Remark out quoting code in runemf; Cleanup of dialog update for mailrun; Enlarge VIEWDATA color array to include new mailrun colors which of course fixed the memfree crashes.

Location:
trunk/dll
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/fm3dlg.h

    r892 r893  
    669669#define CFGV_USENEWVIEWER                                                               25336
    670670#define CFGV_GUESSTYPE                                                                  25337
    671 #define CFGV_PDFVIEWER                                                                  25338
    672 #define CFGV_PDFVIEWERDIR                                                               25339
    673671#define CFGV_VIEWCHILD                                                                  25340
    674672#define CFGV_CHECKMM                                                                    25341
    675 #define CFGV_PDFVIEWERWPSDEFAULT                                                        25342
    676673
    677674#define CFGH_FRAME                                                                      25344
    678 #define CFGH_HTTPVIEWER                                                                 25345
    679675#define CFGH_HTTPRUN                                                                    25346
    680676#define CFGH_FTPRUN                                                                     25347
    681677#define CFGH_RUNFTPWORKDIR                                                              25348
    682678#define CFGH_RUNHTTPWORKDIR                                                             25349
    683 #define CFGH_VIEWHTTPWORKDIR                                                            25350
    684679#define CFGH_RUNMAILWORKDIR                                                             25351
    685680#define CFGH_MAILRUN                                                                    25352
    686 #define CFGH_USEWPSDEFAULTVIEWER                                                        25353
    687681#define CFGH_HTTPRUNWPSDEFAULT                                                          25354
    688682#define CFGH_FTPRUNWPSDEFAULT                                                           25355
    689 #define CFGH_LIBPATHSTRICTHTTPVIEWER                                                    25356
    690683#define CFGH_LIBPATHSTRICTHTTPRUN                                                       25357
    691684#define CFGH_LIBPATHSTRICTFTPRUN                                                        25358
  • trunk/dll/newview.c

    r890 r893  
    111111  HPS hps;
    112112  FATTRS fattrs;
    113   LONG colors[12];
     113  LONG colors[14];
    114114}
    115115VIEWDATA;
     
    162162    pp++;
    163163  *pp = 0;
    164   printf("%s", t); fflush(stdout);
    165164  strip_lead_char(t, "<");
    166165  strip_trail_char(t, ">");
     
    285284                }
    286285              }
    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, '@')) {
    290287                  WinDismissDlg(hwnd, 3);
    291288                  break;
    292                 }
    293289              }
    294290            }
     
    22702266      RECTL Rectl;
    22712267      POINTS pts;
    2272       //CHAR *mailstring;
    22732268
    22742269      WinQueryWindowRect(hwnd, &Rectl);
  • trunk/dll/systemf.c

    r889 r893  
    636636  BOOL useTermQ = FALSE;
    637637  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;
    641641
    642642  typedef struct {
     
    685685           parguments);
    686686  va_end(parguments);
    687   offsetexe = strstr(strlwr(pszPgm), ".exe");
     687  /*offsetexe = strstr(strlwr(pszPgm), ".exe");
    688688  offsetcmd = strstr(strlwr(pszPgm), ".cmd");
    689689  offsetcom = strstr(strlwr(pszPgm), ".com");
     
    701701    offset = offsetbat;
    702702  else {
    703     Dos_Error(MB_CANCEL,rc,hwnd,pszSrcFile,__LINE__,GetPString(IDS_NOTDIRECTEXETEXT));
    704     return -1;
     703    offset = pszPgm;
    705704  }
    706705  offsetquote = strcspn(pszPgm, buf);
     
    718717    //printf("%s\n %s\n%s %s\n %d %d",
    719718    //       pszPgm, szTempPgm, tempcom, temparg, offset, offsetquote); fflush(stdout);
    720   }
     719  } */
    721720  if (pszEnvironment) {
    722721    p = &pszEnvironment[strlen(pszEnvironment)] + 1;
Note: See TracChangeset for help on using the changeset viewer.