872rev remove \n

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@874 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
satbaby
2010-10-31 17:53:06 +00:00
parent 9283bfa4e2
commit 58b835eb43

View File

@@ -1543,12 +1543,12 @@ void CChannelList::paintDetails(int index)
}
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 {
sat_iterator_t sit = satellitePositions.find(chanlist[index]->getSatellitePosition());
if(sit != satellitePositions.end()) {
//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);