changeset 18109:b8c70b5f5aba

(compute_motion): Use XFASTINT on width_table elts.
author Richard M. Stallman <rms@gnu.org>
date Mon, 02 Jun 1997 00:45:18 +0000
parents af791b0f0657
children 22725376c70b
files src/indent.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/indent.c	Mon Jun 02 00:33:14 1997 +0000
+++ b/src/indent.c	Mon Jun 02 00:45:18 1997 +0000
@@ -1231,7 +1231,7 @@
 	      /* 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 @@
 				       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;
 		}