mirror of
https://github.com/irssi/irssi.git
synced 2025-01-03 14:56:47 -05: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:
parent
7bd9e701fa
commit
142025467e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user