mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-28 00:01:33 -08:00
(display_string, display_text_line): Allow tab_width up to 1000.
This commit is contained in:
parent
13fde0cd78
commit
54ff581a6f
1 changed files with 2 additions and 2 deletions
|
|
@ -1579,7 +1579,7 @@ display_text_line (w, start, vpos, hpos, taboffset)
|
|||
|
||||
hpos += XFASTINT (w->left);
|
||||
get_display_line (f, vpos, XFASTINT (w->left));
|
||||
if (tab_width <= 0 || tab_width > 20) tab_width = 8;
|
||||
if (tab_width <= 0 || tab_width > 1000) tab_width = 8;
|
||||
|
||||
if (MINI_WINDOW_P (w) && start == 1
|
||||
&& vpos == XFASTINT (w->top))
|
||||
|
|
@ -2476,7 +2476,7 @@ display_string (w, vpos, string, hpos, truncate, mincol, maxcol)
|
|||
&& XVECTOR (Vstandard_display_table)->size == DISP_TABLE_SIZE)
|
||||
dp = XVECTOR (Vstandard_display_table);
|
||||
|
||||
if (tab_width <= 0 || tab_width > 20) tab_width = 8;
|
||||
if (tab_width <= 0 || tab_width > 1000) tab_width = 8;
|
||||
|
||||
p1 = p1start;
|
||||
start = desired_glyphs->glyphs[vpos] + XFASTINT (w->left);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue