tweaks: don't bother trimming the prompt again

The prompt has already been trimmed in do_prompt() to fit into the
available space.
This commit is contained in:
Benno Schulenberg 2016-08-28 17:53:44 +02:00
parent 4d2ada60f5
commit 77d140728d

View File

@ -468,7 +468,7 @@ void update_the_statusbar(void)
blank_statusbar(); blank_statusbar();
mvwaddnstr(bottomwin, 0, 0, prompt, actual_x(prompt, COLS - 2)); mvwaddstr(bottomwin, 0, 0, prompt);
waddch(bottomwin, ':'); waddch(bottomwin, ':');
waddch(bottomwin, (the_page == 0) ? ' ' : '<'); waddch(bottomwin, (the_page == 0) ? ' ' : '<');