Use tiparm on to_status_line

According to terminfo(5), tsl takes a single parameter! Never seen
it happen, but this is technically more correct, I guess.
weechat-hashes
June McEnroe 2022-07-28 13:46:44 -04:00
parent 4aaa2050e2
commit 563ac9e3bf
1 changed files with 1 additions and 1 deletions

2
ui.c
View File

@ -157,7 +157,7 @@ void uiDraw(void) {
if (!to_status_line) return; if (!to_status_line) return;
if (!strcmp(uiTitle, prevTitle)) return; if (!strcmp(uiTitle, prevTitle)) return;
strcpy(prevTitle, uiTitle); strcpy(prevTitle, uiTitle);
putp(to_status_line); putp(tiparm(to_status_line, 0));
putp(uiTitle); putp(uiTitle);
putp(from_status_line); putp(from_status_line);
fflush(stdout); fflush(stdout);