LCL, DbGrids: Fix result of DBGrid.MyCompareBookmarks, from Luiz Americo, issue

git-svn-id: trunk@52706 -
This commit is contained in:
jesus 2016-07-17 19:30:48 +00:00
parent 0a5992a38f
commit 36c4499319

View File

@ -4527,10 +4527,10 @@ begin
result := 0
else
if b1=nil then
result := -1
result := 1
else
if b2=nil then
result := 1
result := -1
else begin
// Note: Tds(ds).bookmarksize is set at creation of TDataSet and does not change
result := CompareMemRange(b1,b2,Tds(ds).bookmarksize);