mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2026-03-13 09:24:25 +08:00
Replace obsolete function "CompareText" by similar working "AnsiCompareText".
See also: http://www.delphibasics.co.uk/RTL.asp?Name=CompareText
This commit is contained in:
@@ -2686,7 +2686,7 @@ begin
|
||||
begin
|
||||
VTRowDataListProcesses[i-1].Captions := TStringList.Create;
|
||||
VTRowDataListProcesses[i-1].Captions.Add( ds.Fields[0].AsString );
|
||||
if CompareText( ds.Fields[4].AsString, 'Killed') = 0 then
|
||||
if AnsiCompareText( ds.Fields[4].AsString, 'Killed') = 0 then
|
||||
VTRowDataListProcesses[i-1].ImageIndex := 83 // killed
|
||||
else
|
||||
VTRowDataListProcesses[i-1].ImageIndex := 82; // running
|
||||
@@ -6140,7 +6140,7 @@ begin
|
||||
end
|
||||
else begin
|
||||
// Compare Strings
|
||||
Result := CompareText( CellText1, CellText2 );
|
||||
Result := AnsiCompareText( CellText1, CellText2 );
|
||||
end;
|
||||
end;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user