From e1c94f88f47a5205f2be032f084392596b4437a3 Mon Sep 17 00:00:00 2001 From: Jacek Jendrzej Date: Fri, 17 Jan 2020 22:49:56 +0100 Subject: [PATCH] fix syntax --- src/zapit/src/scansdt.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/zapit/src/scansdt.cpp b/src/zapit/src/scansdt.cpp index 8c6e9f962..64cb38027 100644 --- a/src/zapit/src/scansdt.cpp +++ b/src/zapit/src/scansdt.cpp @@ -536,10 +536,10 @@ bool CSdt::AddToBouquet(std::string &providerName, CZapitChannel *channel) case ST_NVOD_TIME_SHIFTED_SERVICE: { char pname[100]; - if SAT_POSITION_CABLE(satellitePosition) + if (SAT_POSITION_CABLE(satellitePosition)) snprintf(pname, 100, "[C%03d.%d] %s", abs((int)satellitePosition)/10, abs((int)satellitePosition)%10, providerName.c_str()); - else if SAT_POSITION_TERR(satellitePosition) + else if (SAT_POSITION_TERR(satellitePosition)) snprintf(pname, 100, "[T%03d.%d] %s", abs((int)satellitePosition)/10, abs((int)satellitePosition)%10, providerName.c_str()); else