Ignore:
Timestamp:
Jul 9, 2008, 8:58:39 PM (17 years ago)
Author:
RBRi
Message:

fixes for improved url handling (in the about dialog)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.19_branch/NewView/WebBrowserUnit.pas

    r301 r305  
    160160    end;
    161161
    162     if StrStartsWithIgnoringCase(aURL, '"ftp') then
     162    if StrStartsWithIgnoringCase(aURL, '"ftp')
     163       or StrStartsWithIgnoringCase(aURL, 'ftp')
     164    then
    163165    begin
    164166      tmpAlternativeExe := GetDefaultFtpExe;
     
    170172      end
    171173    end
    172     else if StrStartsWithIgnoringCase(aURL, '"mailto') then
     174    else if StrStartsWithIgnoringCase(aURL, '"mailto')
     175            or StrStartsWithIgnoringCase(aURL, 'mailto')
     176    then
    173177    begin
    174178      tmpAlternativeExe := GetDefaultMailExe;
     
    180184      end
    181185    end
    182     else if StrStartsWithIgnoringCase(aURL, '"news') then
     186    else if StrStartsWithIgnoringCase(aURL, '"news')
     187            or StrStartsWithIgnoringCase(aURL, '"news')
     188    then
    183189    begin
    184190      tmpAlternativeExe := GetDefaultNewsExe;
Note: See TracChangeset for help on using the changeset viewer.