aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1993-03-23 00:54:20 +0000
committerRichard M. Stallman1993-03-23 00:54:20 +0000
commit54ff581a6f0d3c755d3acfafd7d5708b6090502d (patch)
treeaa9407b1d02796efb3b67845de4372b0f6fdbabe /src
parent13fde0cd78af1a6d4e75fff229a23ac9f6940ddf (diff)
downloademacs-54ff581a6f0d3c755d3acfafd7d5708b6090502d.tar.gz
emacs-54ff581a6f0d3c755d3acfafd7d5708b6090502d.zip
(display_string, display_text_line): Allow tab_width up to 1000.
Diffstat (limited to 'src')
-rw-r--r--src/xdisp.c4
1 files 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)
1579 1579
1580 hpos += XFASTINT (w->left); 1580 hpos += XFASTINT (w->left);
1581 get_display_line (f, vpos, XFASTINT (w->left)); 1581 get_display_line (f, vpos, XFASTINT (w->left));
1582 if (tab_width <= 0 || tab_width > 20) tab_width = 8; 1582 if (tab_width <= 0 || tab_width > 1000) tab_width = 8;
1583 1583
1584 if (MINI_WINDOW_P (w) && start == 1 1584 if (MINI_WINDOW_P (w) && start == 1
1585 && vpos == XFASTINT (w->top)) 1585 && vpos == XFASTINT (w->top))
@@ -2476,7 +2476,7 @@ display_string (w, vpos, string, hpos, truncate, mincol, maxcol)
2476 && XVECTOR (Vstandard_display_table)->size == DISP_TABLE_SIZE) 2476 && XVECTOR (Vstandard_display_table)->size == DISP_TABLE_SIZE)
2477 dp = XVECTOR (Vstandard_display_table); 2477 dp = XVECTOR (Vstandard_display_table);
2478 2478
2479 if (tab_width <= 0 || tab_width > 20) tab_width = 8; 2479 if (tab_width <= 0 || tab_width > 1000) tab_width = 8;
2480 2480
2481 p1 = p1start; 2481 p1 = p1start;
2482 start = desired_glyphs->glyphs[vpos] + XFASTINT (w->left); 2482 start = desired_glyphs->glyphs[vpos] + XFASTINT (w->left);