summaryrefslogtreecommitdiff
path: root/prototypes
diff options
context:
space:
mode:
Diffstat (limited to 'prototypes')
-rw-r--r--prototypes/textedit/fpg_textedit.pas4
1 files changed, 2 insertions, 2 deletions
diff --git a/prototypes/textedit/fpg_textedit.pas b/prototypes/textedit/fpg_textedit.pas
index f17c79c4..4a9994d8 100644
--- a/prototypes/textedit/fpg_textedit.pas
+++ b/prototypes/textedit/fpg_textedit.pas
@@ -1510,8 +1510,8 @@ begin
if not FSelected then
begin
- FSelStartNo := CaretPos.x;
- FSelStartOffs := CaretPos.y;
+ FSelStartNo := CaretPos.Y;
+ FSelStartOffs := CaretPos.X;
end;
end;