Changeset 124


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

changed to use StringUtilsUnit

Location:
trunk/NewView
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/NewView/GlobalFilelistUnit.pas

    r61 r124  
    5050
    5151uses
     52  StringUtilsUnit,
    5253  DebugUnit,
    53   ACLStringUtility,
    5454  SysUtils;
    5555
     
    124124  while ( Result <> nil ) do
    125125  begin
    126     if ( StringsSame( StrPas( Result ^. FilePath ), FilePath ) ) then
     126    if ( StrEqualIgnoringCase( StrPas( Result ^. FilePath ), FilePath ) ) then
    127127    begin
    128128      // found
     
    164164    if ( pEntry ^. Window = Window ) then
    165165    begin
    166       if ( StringsSame( StrPas( pEntry ^. FilePath ), FilePath ) ) then
     166      if ( StrEqualIgnoringCase( StrPas( pEntry ^. FilePath ), FilePath ) ) then
    167167      begin
    168168        // found
  • 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.