mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-26 12:03:51 +02:00
LCL, DbGrids: Fix result of DBGrid.MyCompareBookmarks, from Luiz Americo, issue #28743
git-svn-id: trunk@52706 -
This commit is contained in:
parent
0a5992a38f
commit
36c4499319
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user