aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/indent.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/indent.c b/src/indent.c
index 66392353828..e2c7f12d29d 100644
--- a/src/indent.c
+++ b/src/indent.c
@@ -1231,7 +1231,7 @@ compute_motion (from, fromvpos, fromhpos, did_motion, to, tovpos, tohpos, width,
1231 /* Is this character part of the current run? If so, extend 1231 /* Is this character part of the current run? If so, extend
1232 the run. */ 1232 the run. */
1233 if (pos - 1 == width_run_end 1233 if (pos - 1 == width_run_end
1234 && width_table[c] == width_run_width) 1234 && XFASTINT (width_table[c]) == width_run_width)
1235 width_run_end = pos; 1235 width_run_end = pos;
1236 1236
1237 /* The previous run is over, since this is a character at a 1237 /* The previous run is over, since this is a character at a
@@ -1247,7 +1247,7 @@ compute_motion (from, fromvpos, fromhpos, did_motion, to, tovpos, tohpos, width,
1247 width_run_start, width_run_end); 1247 width_run_start, width_run_end);
1248 1248
1249 /* Start recording a new width run. */ 1249 /* Start recording a new width run. */
1250 width_run_width = width_table[c]; 1250 width_run_width = XFASTINT (width_table[c]);
1251 width_run_start = pos - 1; 1251 width_run_start = pos - 1;
1252 width_run_end = pos; 1252 width_run_end = pos;
1253 } 1253 }