From 54ff581a6f0d3c755d3acfafd7d5708b6090502d Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Tue, 23 Mar 1993 00:54:20 +0000 Subject: [PATCH] (display_string, display_text_line): Allow tab_width up to 1000. --- src/xdisp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/xdisp.c b/src/xdisp.c index 5308e9d217b..e4770e4068f 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -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);