mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-17 11:49:07 +02:00
LCL-GTK2: Fix the boolean logic clause. Issue #32604.
git-svn-id: trunk@56196 -
This commit is contained in:
parent
6b5b623410
commit
444f0dd6f1
@ -1053,7 +1053,7 @@ begin
|
|||||||
if AInfo <> nil then
|
if AInfo <> nil then
|
||||||
begin
|
begin
|
||||||
if (AInfo^.LCLObject is TCustomEdit)
|
if (AInfo^.LCLObject is TCustomEdit)
|
||||||
and (AInfo^.CursorPos > 0) or (AInfo^.SelLength > 0) then
|
and ((AInfo^.CursorPos > 0) or (AInfo^.SelLength > 0)) then
|
||||||
begin
|
begin
|
||||||
// gtk_entry_set_position(PGtkEntry(Widget), AInfo^.CursorPos);
|
// gtk_entry_set_position(PGtkEntry(Widget), AInfo^.CursorPos);
|
||||||
// gtk_editable_select_region(PGtkEditable(Widget), AInfo^.CursorPos, AInfo^.CursorPos);
|
// gtk_editable_select_region(PGtkEditable(Widget), AInfo^.CursorPos, AInfo^.CursorPos);
|
||||||
|
Loading…
Reference in New Issue
Block a user