aboutsummaryrefslogtreecommitdiffstats
path: root/src/indent.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/indent.c')
-rw-r--r--src/indent.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/indent.c b/src/indent.c
index 891b42788ed..d956e627ba9 100644
--- a/src/indent.c
+++ b/src/indent.c
@@ -118,7 +118,7 @@ disptab_matches_widthtab (struct Lisp_Char_Table *disptab, struct Lisp_Vector *w
118 118
119 for (i = 0; i < 256; i++) 119 for (i = 0; i < 256; i++)
120 if (character_width (i, disptab) 120 if (character_width (i, disptab)
121 != XFASTINT (widthtab->contents[i])) 121 != XFASTINT (widthtab->u.contents[i]))
122 return 0; 122 return 0;
123 123
124 return 1; 124 return 1;
@@ -138,7 +138,7 @@ recompute_width_table (struct buffer *buf, struct Lisp_Char_Table *disptab)
138 eassert (widthtab->header.size == 256); 138 eassert (widthtab->header.size == 256);
139 139
140 for (i = 0; i < 256; i++) 140 for (i = 0; i < 256; i++)
141 XSETFASTINT (widthtab->contents[i], character_width (i, disptab)); 141 XSETFASTINT (widthtab->u.contents[i], character_width (i, disptab));
142} 142}
143 143
144/* Allocate or free the width run cache, as requested by the 144/* Allocate or free the width run cache, as requested by the
@@ -1136,7 +1136,7 @@ compute_motion (ptrdiff_t from, ptrdiff_t frombyte, EMACS_INT fromvpos,
1136 width_run_cache_on_off (); 1136 width_run_cache_on_off ();
1137 if (dp == buffer_display_table ()) 1137 if (dp == buffer_display_table ())
1138 width_table = (VECTORP (BVAR (current_buffer, width_table)) 1138 width_table = (VECTORP (BVAR (current_buffer, width_table))
1139 ? XVECTOR (BVAR (current_buffer, width_table))->contents 1139 ? XVECTOR (BVAR (current_buffer, width_table))->u.contents
1140 : 0); 1140 : 0);
1141 else 1141 else
1142 /* If the window has its own display table, we can't use the width 1142 /* If the window has its own display table, we can't use the width