瀏覽代碼

* fixed TFPList.Sort. Scary news: turns out we don't have any tests for
TFPList.Sort or TList.Sort... :(

git-svn-id: trunk@41177 -

nickysn 6 年之前
父節點
當前提交
63f9afa6bd
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      rtl/objpas/classes/lists.inc

+ 1 - 1
rtl/objpas/classes/lists.inc

@@ -302,7 +302,7 @@ end;
 
 procedure TFPList.Sort(Compare: TListSortCompare);
 begin
-  Sort(Compare, @SortBase.DefaultSortingAlgorithm);
+  Sort(Compare, SortBase.DefaultSortingAlgorithm);
 end;