mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-18 02:19:32 +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
|
result := 0
|
||||||
else
|
else
|
||||||
if b1=nil then
|
if b1=nil then
|
||||||
result := -1
|
result := 1
|
||||||
else
|
else
|
||||||
if b2=nil then
|
if b2=nil then
|
||||||
result := 1
|
result := -1
|
||||||
else begin
|
else begin
|
||||||
// Note: Tds(ds).bookmarksize is set at creation of TDataSet and does not change
|
// Note: Tds(ds).bookmarksize is set at creation of TDataSet and does not change
|
||||||
result := CompareMemRange(b1,b2,Tds(ds).bookmarksize);
|
result := CompareMemRange(b1,b2,Tds(ds).bookmarksize);
|
||||||
|
Loading…
Reference in New Issue
Block a user