Ignore:
Timestamp:
Apr 27, 2007, 8:42:34 PM (18 years ago)
Author:
RBRi
Message:

changed to use StringUtilsUnit

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NewView/HelpFile.pas

    r74 r124  
    156156uses
    157157  BseErr,
     158  StringUtilsUnit,
    158159  DebugUnit,
    159160  ACLStringUtility,
     
    671672  for i := 0 to _Index.Count - 1 do
    672673  begin
    673     if StrStarts( SearchText, _Index.ValuePtrs[ i ] ^ ) then
     674    if StrStartsWithIgnoringCase( SearchText, _Index.ValuePtrs[ i ] ^ ) then
    674675    begin
    675676      // found
     
    715716      if tmpLevel = tmpTopic.ContentsLevel then
    716717      begin
    717         if StrStarts( SearchText, tmpTopic.TitlePtr ^ ) then
     718        if StrStartsWithIgnoringCase( SearchText, tmpTopic.TitlePtr ^ ) then
    718719        begin
    719720          result := tmpTopic;
Note: See TracChangeset for help on using the changeset viewer.