summaryrefslogtreecommitdiff
path: root/plugins/MirandaG15/src/CContactList.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/MirandaG15/src/CContactList.cpp')
-rw-r--r--plugins/MirandaG15/src/CContactList.cpp13
1 files changed, 4 insertions, 9 deletions
diff --git a/plugins/MirandaG15/src/CContactList.cpp b/plugins/MirandaG15/src/CContactList.cpp
index cf16976481..69e6165d38 100644
--- a/plugins/MirandaG15/src/CContactList.cpp
+++ b/plugins/MirandaG15/src/CContactList.cpp
@@ -401,29 +401,24 @@ void CContactList::DeleteGroup(CContactListGroup *pGroup)
//************************************************************************
void CContactList::DrawEntry(CLCDGfx *pGfx,CContactListEntry *pEntry,bool bSelected)
{
- if(pEntry == NULL) {
+ if(pEntry == NULL)
return;
- }
int iOffset = 0;
tstring strText = _T("");
- if(pEntry->iMessages > 0)
- {
+ if(pEntry->iMessages > 0) {
strText = _T("[");
strText += pEntry->strMessages;
strText += _T("]");
}
strText += pEntry->strName;
- if(CConfig::GetBoolSetting(CLIST_SHOWPROTO) && !CConfig::GetBoolSetting(CLIST_COLUMNS))
- {
+ if(CConfig::GetBoolSetting(CLIST_SHOWPROTO) && !CConfig::GetBoolSetting(CLIST_COLUMNS)) {
int w = pGfx->GetClipWidth();
pGfx->DrawText(w-w*0.3,0,w*0.3,pEntry->strProto);
pGfx->DrawText(8,0,w*0.7-8,strText);
}
- else
- pGfx->DrawText(8,0,pGfx->GetClipWidth()-8,strText);
-
+ else pGfx->DrawText(8,0,pGfx->GetClipWidth()-8,strText);
pGfx->DrawBitmap(1,ceil((pGfx->GetClipHeight()-5)/2.0f),5,5,CAppletManager::GetInstance()->GetStatusBitmap(pEntry->iStatus));