diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/xdisp.c | 4 |
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); |