tweaks: reshuffle a condition, to probably avoid an unneeded calculation
Also frob three comments.master
parent
c96c343fac
commit
1236341746
|
@ -403,7 +403,7 @@ void draw_the_promptbar(void)
|
|||
waddstr(bottomwin, expanded);
|
||||
free(expanded);
|
||||
|
||||
if (base + breadth(answer) != COLS && the_page < end_page)
|
||||
if (the_page < end_page && base + breadth(answer) != COLS)
|
||||
mvwaddch(bottomwin, 0, COLS - 1, '>');
|
||||
|
||||
wattroff(bottomwin, interface_color_pair[PROMPT_BAR]);
|
||||
|
|
Loading…
Reference in New Issue