From 93977b8093335ea30283f59ca487b92492d95f53 Mon Sep 17 00:00:00 2001 From: John Fresco Date: Thu, 23 Oct 2014 11:59:53 -0600 Subject: [PATCH] status: fix crossfade being shown in status when other options are being toggled --- src/status.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/status.cpp b/src/status.cpp index d6219810..a6170e2b 100644 --- a/src/status.cpp +++ b/src/status.cpp @@ -288,7 +288,7 @@ void Status::update(int event) if (m_status_initialized) Statusbar::printf("Consume mode is %1%", !m_consume ? "off" : "on"); } - if (('x' == m_crossfade) != st.crossfade()) + if (('x' == m_crossfade) != (st.crossfade() != 0)) { int crossfade = st.crossfade(); m_crossfade = crossfade ? 'x' : 0;