xmlwin_show takes window as argument

This commit is contained in:
James Booth
2015-11-01 19:45:35 +00:00
parent db4bcd3e6d
commit aa59cf98b8
4 changed files with 10 additions and 8 deletions

View File

@@ -521,7 +521,10 @@ sv_ev_roster_update(const char *const barejid, const char *const name,
void
sv_ev_xmpp_stanza(const char *const msg)
{
xmlwin_show(msg);
ProfXMLWin *xmlwin = wins_get_xmlconsole();
if (xmlwin) {
xmlwin_show(xmlwin, msg);
}
}
void