From 29fe639ad304db7f6a9b164b337ddd3892d579dc Mon Sep 17 00:00:00 2001 From: TangoCash Date: Thu, 23 Aug 2018 08:57:00 +0200 Subject: [PATCH] satisfy compiler MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Thilo Graf Possible error was: operation on ‘iColon’ may be undefined, possible sequence-point error --- src/zapit/src/bouquets.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/zapit/src/bouquets.cpp b/src/zapit/src/bouquets.cpp index f1427c404..ae49511c2 100644 --- a/src/zapit/src/bouquets.cpp +++ b/src/zapit/src/bouquets.cpp @@ -964,8 +964,9 @@ void CBouquetManager::loadWebchannels(int mode) if (iColon >= 0 && iComma >= 0 && iComma > iColon) { iComma++; + iColon++; title = strLine.substr(iComma); - std::string strInfoLine = strLine.substr(++iColon, --iComma - iColon); + std::string strInfoLine = strLine.substr(iColon, --iComma - iColon); desc = ReadMarkerValue(strInfoLine, TVG_INFO_NAME_MARKER); group = ReadMarkerValue(strInfoLine, GROUP_NAME_MARKER); epgid = ReadMarkerValue(strInfoLine, TVG_INFO_ID_MARKER);