Changeset 898 for trunk/dll/newview.c


Ignore:
Timestamp:
Dec 31, 2007, 1:41:15 AM (18 years ago)
Author:
Gregg Young
Message:

Add option to not use <mailto:> wrapper (it doesn't work with the old pmmail); Cleanup of mailrun code; Replaced dunno.ico with a new version from David

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/newview.c

    r896 r898  
    154154  remove_first_occurence_of_character("\n", pszSrc);
    155155  if (!strstr(pszSrc, " ")){
    156     if (!stristr(pszSrc, "<mailto:")) {
     156    if (!stristr(pszSrc, "<mailto:") && !fNoMailtoMailRun) {
    157157      strip_lead_char("<", pszSrc);
    158158      strip_trail_char(">", pszSrc);
     
    163163    }
    164164    else {
     165      strip_lead_char("<", pszSrc);
     166      strip_trail_char(">", pszSrc);
    165167      return pszSrc;
    166168    }
     
    179181    pszCharCounter++;
    180182  *pszCharCounter = 0;
    181   if (!stristr(pszSrc, "<mailto:")) {
     183  if (!stristr(pszSrc, "<mailto:") && !fNoMailtoMailRun) {
    182184    strip_lead_char("<", pszSrc);
    183185    strip_trail_char(">", pszSrc);
     
    188190    }
    189191  else {
     192    strip_lead_char("<", pszSrc);
     193    strip_trail_char(">", pszSrc);
    190194    return pszSrc;
    191195  }
Note: See TracChangeset for help on using the changeset viewer.