From: Gerd Moellmann Date: Mon, 24 Apr 2000 13:53:16 +0000 (+0000) Subject: (produce_glyphs): Remove reference to struct it's prompt_width. X-Git-Tag: emacs-pretest-21.0.90~4164 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2efdbcddfa1d57db55790746e2dad62714f2ebc7;p=emacs.git (produce_glyphs): Remove reference to struct it's prompt_width. --- 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);