1
0
mirror of https://github.com/irssi/irssi.git synced 2024-06-23 06:35:36 +00:00

Setting window's prompt didn't check that the window was active -> some

other window's prompt could sometime appear in screen.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@187 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2000-04-27 11:48:05 +00:00 committed by cras
parent 7bd9e701fa
commit 142025467e

View File

@ -533,6 +533,8 @@ static void window_update_prompt(WINDOW_REC *window)
WI_ITEM_REC *item;
char *text, *str;
if (window != active_win) return;
item = window->active;
if (item != NULL)
text = item->name;