From 2efdbcddfa1d57db55790746e2dad62714f2ebc7 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Mon, 24 Apr 2000 13:53:16 +0000 Subject: [PATCH] (produce_glyphs): Remove reference to struct it's prompt_width. --- src/term.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/term.c b/src/term.c index eaac25c6819..63ed8f86af2 100644 --- a/src/term.c +++ b/src/term.c @@ -1821,7 +1821,7 @@ produce_glyphs (it) it->pixel_width = it->nglyphs = 0; else if (it->c == '\t') { - int absolute_x = (it->current_x - it->prompt_width + int absolute_x = (it->current_x + it->continuation_lines_width); int next_tab_x = (((1 + absolute_x + it->tab_width - 1) @@ -2192,7 +2192,7 @@ to do `unset TERMCAP' (C-shell: `unsetenv TERMCAP') as well.", TS_clr_to_bottom = tgetstr ("cd", address); TS_clr_line = tgetstr ("ce", address); TS_clr_frame = tgetstr ("cl", address); - ColPosition = tgetstr ("ch", address); + ColPosition = NULL; /* tgetstr ("ch", address); */ AbsPosition = tgetstr ("cm", address); CR = tgetstr ("cr", address); TS_set_scroll_region = tgetstr ("cs", address); -- 2.39.5