872rev remove \n

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@874 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Branch: ni/coolstream
Commit: 58b835eb43
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2010-10-31 (Sun, 31 Oct 2010)



------------------
This commit was generated by Migit
This commit is contained in:
Jacek Jendrzej
2010-10-31 17:53:06 +00:00
parent b4f4d284da
commit 8c3bb14d0b

View File

@@ -1543,12 +1543,12 @@ void CChannelList::paintDetails(int index)
} }
if(chanlist[index]->pname) if(chanlist[index]->pname)
snprintf(&buf[len], sizeof(buf) - len, "(%s)\n", chanlist[index]->pname); snprintf(&buf[len], sizeof(buf) - len, "(%s)", chanlist[index]->pname);
else { else {
sat_iterator_t sit = satellitePositions.find(chanlist[index]->getSatellitePosition()); sat_iterator_t sit = satellitePositions.find(chanlist[index]->getSatellitePosition());
if(sit != satellitePositions.end()) { if(sit != satellitePositions.end()) {
//int satNameWidth = g_Font[SNeutrinoSettings::FONT_TYPE_CHANNELLIST_DESCR]->getRenderWidth (sit->second.name); //int satNameWidth = g_Font[SNeutrinoSettings::FONT_TYPE_CHANNELLIST_DESCR]->getRenderWidth (sit->second.name);
snprintf(&buf[len], sizeof(buf) - len, "(%s)\n", sit->second.name.c_str()); snprintf(&buf[len], sizeof(buf) - len, "(%s)", sit->second.name.c_str());
} }
} }
g_Font[SNeutrinoSettings::FONT_TYPE_CHANNELLIST]->RenderString(x+ 10, y+ height+ 5+ 3*fheight, width - 30, buf, COL_MENUCONTENTDARK, 0, true); g_Font[SNeutrinoSettings::FONT_TYPE_CHANNELLIST]->RenderString(x+ 10, y+ height+ 5+ 3*fheight, width - 30, buf, COL_MENUCONTENTDARK, 0, true);