summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/cmds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmds.c b/src/cmds.c
index 8b51e69de48..00a6e7687f8 100644
--- a/src/cmds.c
+++ b/src/cmds.c
@@ -413,7 +413,7 @@ internal_self_insert (c, noautofill)
del_range (PT, forward_point (1));
else
{
- int pos = point;
+ int pos = PT;
/* The actual cursor position after the trial of moving
to column TARGET_CLM. It is greater than TARGET_CLM
if the TARGET_CLM is middle of multi-column