do not pass null pointer to Window::WriteXY()

This commit is contained in:
Andrzej Rybczak
2008-12-12 22:32:17 +01:00
parent 141a3f7c45
commit 65e5006a6e

View File

@@ -385,7 +385,7 @@ void NcmpcppStatusChanged(Connection *Mpd, StatusChanges changed, void *)
else
{
if (!block_statusbar_update && Config.statusbar_visibility)
wFooter->WriteXY(0, 1, 1, 0);
wFooter->WriteXY(0, 1, 1, "");
}
}