aboutsummaryrefslogtreecommitdiffstats
path: root/src/undo.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/undo.c')
-rw-r--r--src/undo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/undo.c b/src/undo.c
index d2cc1d2dcd4..9a139456927 100644
--- a/src/undo.c
+++ b/src/undo.c
@@ -108,7 +108,7 @@ record_delete (beg, length)
108 if (MODIFF <= SAVE_MODIFF) 108 if (MODIFF <= SAVE_MODIFF)
109 record_first_change (); 109 record_first_change ();
110 110
111 if (point == beg + length) 111 if (PT == beg + length)
112 XSETINT (sbeg, -beg); 112 XSETINT (sbeg, -beg);
113 else 113 else
114 XSETFASTINT (sbeg, beg); 114 XSETFASTINT (sbeg, beg);