mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-17 04:29:25 +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
|
||||
begin
|
||||
if (AInfo^.LCLObject is TCustomEdit)
|
||||
and (AInfo^.CursorPos > 0) or (AInfo^.SelLength > 0) then
|
||||
and ((AInfo^.CursorPos > 0) or (AInfo^.SelLength > 0)) then
|
||||
begin
|
||||
// gtk_entry_set_position(PGtkEntry(Widget), AInfo^.CursorPos);
|
||||
// gtk_editable_select_region(PGtkEditable(Widget), AInfo^.CursorPos, AInfo^.CursorPos);
|
||||
|
Loading…
Reference in New Issue
Block a user