diff options
author | Richard M. Stallman <rms@gnu.org> | 1997-06-02 00:45:18 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1997-06-02 00:45:18 +0000 |
commit | 42d35ea9fa415bd982887f4a00c318ab137ae2c4 (patch) | |
tree | 2c59d20ca6200d8dbd72cffb36202d83fac82879 /src/indent.c | |
parent | 4d575e28dbe6fdbff3e23e7b2e264c93bbe8f27a (diff) | |
download | emacs-42d35ea9fa415bd982887f4a00c318ab137ae2c4.tar.gz |
(compute_motion): Use XFASTINT on width_table elts.
Diffstat (limited to 'src/indent.c')
-rw-r--r-- | src/indent.c | 4 |
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, /* Is this character part of the current run? If so, extend the run. */ if (pos - 1 == width_run_end - && width_table[c] == width_run_width) + && XFASTINT (width_table[c]) == width_run_width) width_run_end = pos; /* 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, width_run_start, width_run_end); /* Start recording a new width run. */ - width_run_width = width_table[c]; + width_run_width = XFASTINT (width_table[c]); width_run_start = pos - 1; width_run_end = pos; } |