From: Stefan Pluecken Date: Tue, 22 Nov 2005 03:05:23 +0000 (+0000) Subject: fix string-length to correctly display the frontend type X-Git-Tag: 2.6.0~5024 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/f05081e0c3880e537a9c1bd8ce98e8f0415d2ff3 fix string-length to correctly display the frontend type --- diff --git a/lib/dvb/frontend.cpp b/lib/dvb/frontend.cpp index 75824f03..4c5317e0 100644 --- a/lib/dvb/frontend.cpp +++ b/lib/dvb/frontend.cpp @@ -275,7 +275,7 @@ eDVBFrontend::eDVBFrontend(int adap, int fe, int &ok): m_type(-1), m_fe(fe), m_c ok = 0; return; } - eDebug("detected %s frontend", "satellite\0cable\0 terrestrial"+fe_info.type*9); + eDebug("detected %s frontend", "satellite\0cable\0 terrestrial"+fe_info.type*10); ok = 1; m_sn = new eSocketNotifier(eApp, m_fd, eSocketNotifier::Read);