Skip to content

Commit

Permalink
GWindows.Scintilla: fix in notification record
Browse files Browse the repository at this point in the history
  • Loading branch information
zertovitch committed Oct 19, 2023
1 parent fe1e8a6 commit 98dc1ba
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions gwindows/framework/gwindows-scintilla.adb
Original file line number Diff line number Diff line change
Expand Up @@ -2912,7 +2912,7 @@ package body GWindows.Scintilla is
Pos : Position;
ch : Int_32;
modifiers : Int_32;
modificationType : Int_32;
modificationType : Interfaces.Unsigned_32;
text : System.Address;
length : Position;
linesAdded : Position;
Expand Down Expand Up @@ -2980,7 +2980,7 @@ package body GWindows.Scintilla is
begin
On_Modified (Scintilla_Type'Class (Window),
NM.Pos,
Interfaces.Unsigned_32 (NM.modificationType),
NM.modificationType,
T (T'First .. T'Last - 1),
Integer (NM.linesAdded),
Integer (NM.line),
Expand All @@ -2990,7 +2990,7 @@ package body GWindows.Scintilla is
else
On_Modified (Scintilla_Type'Class (Window),
NM.Pos,
Interfaces.Unsigned_32 (NM.modificationType),
NM.modificationType,
"",
Integer (NM.linesAdded),
Integer (NM.line),
Expand Down

0 comments on commit 98dc1ba

Please sign in to comment.