src/gui/streaminfo2.cpp add show channel realname, thx Janus

Origin commit data
------------------
Commit: c08a339484
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2015-12-16 (Wed, 16 Dec 2015)
This commit is contained in:
Jacek Jendrzej
2015-12-16 12:00:35 +01:00
parent 401f69bcc5
commit 436764b05d

View File

@@ -665,7 +665,8 @@ void CStreamInfo2::paint_techinfo(int xpos, int ypos)
ypos += iheight;
sprintf (buf, "%s:",g_Locale->getText (LOCALE_TIMERLIST_CHANNEL));//swiped locale
g_Font[font_info]->RenderString(xpos, ypos, box_width, buf , COL_INFOBAR_TEXT);
sprintf(buf, "%s", channel->getName().c_str());
// process additional RealName if UserName exists >> uname.empty() ? realname : uname + realname
sprintf(buf, "%s", (channel->getName()==channel->getRealname()) ? channel->getRealname().c_str():(channel->getName()+" << "+channel->getRealname()).c_str());
g_Font[font_info]->RenderString (xpos+spaceoffset, ypos, box_width, buf, COL_INFOBAR_TEXT);
//tsfrequenz