From 48d60da0082766be47a741e45f5fdea3e6df524f Mon Sep 17 00:00:00 2001 From: f4exb Date: Mon, 29 Aug 2016 01:33:12 +0200 Subject: [PATCH] DSD demod plugin: DMR refactoring: show busy slot(s) in slot text display --- plugins/channel/demoddsd/dsddemodgui.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/channel/demoddsd/dsddemodgui.cpp b/plugins/channel/demoddsd/dsddemodgui.cpp index 9847ea1b7..5910f4b38 100644 --- a/plugins/channel/demoddsd/dsddemodgui.cpp +++ b/plugins/channel/demoddsd/dsddemodgui.cpp @@ -417,7 +417,7 @@ void DSDDemodGUI::formatStatusText() case DSDcc::DSDDecoder::DSDSyncDMRVoiceP: if (m_signalFormat != signalFormatDMR) { - strcpy(m_formatStatusText, "Sta: __ S1: ______ S2: ______"); + strcpy(m_formatStatusText, "Sta: __ S1: _______ S2: _______"); } switch (m_dsdDemod->getDecoder().getStationType()) @@ -433,8 +433,8 @@ void DSDDemodGUI::formatStatusText() break; } - memcpy(&m_formatStatusText[12], m_dsdDemod->getDecoder().getSlot0Text(), 6); - memcpy(&m_formatStatusText[23], m_dsdDemod->getDecoder().getSlot1Text(), 6); + memcpy(&m_formatStatusText[12], m_dsdDemod->getDecoder().getSlot0Text(), 7); + memcpy(&m_formatStatusText[24], m_dsdDemod->getDecoder().getSlot1Text(), 7); m_signalFormat = signalFormatDMR; break; case DSDcc::DSDDecoder::DSDSyncDStarHeaderN: