Ignore:
Timestamp:
Apr 24, 2008, 8:59:16 PM (17 years ago)
Author:
RBRi
Message:

first try to fix #34

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.19.1/NewView/HelpTopic.pas

    r140 r267  
    10531053      ProgramFilename := ExtractFilename( ProgramPath );
    10541054
    1055       if    StrStartsWithIgnoringCase(PRGM_EXPLORER, ProgramFilename ) // web explorer?
    1056          or StrStartsWithIgnoringCase(PRGM_NETSCAPE, ProgramFilename )
    1057          or StrStartsWithIgnoringCase(PRGM_MOZILLA, ProgramFilename )
    1058          or StrStartsWithIgnoringCase(PRGM_FIREFOX, ProgramFilename )
    1059          then
     1055      if    StrStartsWithIgnoringCase(ProgramFilename, PRGM_EXPLORER) // web explorer?
     1056         or StrStartsWithIgnoringCase(ProgramFilename, PRGM_NETSCAPE)
     1057         or StrStartsWithIgnoringCase(ProgramFilename, PRGM_MOZILLA)
     1058         or StrStartsWithIgnoringCase(ProgramFilename, PRGM_FIREFOX)
     1059      then
    10601060      begin
    10611061        OutputString := '<blue><link ' + PARAM_LINK_URL + ' '
     
    10671067        ProgramInfo := TSerializableStringList.create;
    10681068        ProgramInfo.add(ProgramPath);
    1069         ProgramInfo.add(ProgramLink);
     1069        ProgramInfo.add(StrSubstringFrom(ProgramLink, Length(ProgramPath) + 2));
    10701070        OutputString := '<blue><link ' + PARAM_LINK_PROGRAM + ' '
    10711071                        + ProgramInfo.getSerializedString
Note: See TracChangeset for help on using the changeset viewer.