From 54dec7a74c313ee61437386bd667f9a7653351fd Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 19 Jun 2012 14:52:53 +0000 Subject: fixes for the options page translation git-svn-id: http://svn.miranda-ng.org/main/trunk@479 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Clist_nicer/SRC/clcitems.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'plugins/Clist_nicer/SRC/clcitems.cpp') diff --git a/plugins/Clist_nicer/SRC/clcitems.cpp b/plugins/Clist_nicer/SRC/clcitems.cpp index 009a57a36d..9e759946e9 100644 --- a/plugins/Clist_nicer/SRC/clcitems.cpp +++ b/plugins/Clist_nicer/SRC/clcitems.cpp @@ -328,7 +328,7 @@ BYTE GetCachedStatusMsg(int iExtraCacheEntry, char *szProto) if(cEntry->bStatusMsgValid > STATUSMSG_XSTATUSNAME) { int j = 0, i; cEntry->statusMsg = (TCHAR *)realloc(cEntry->statusMsg, (lstrlen(dbv.ptszVal) + 2) * sizeof(TCHAR)); - for(i = 0; dbv.ptszVal[i]; i++) { + for (i = 0; dbv.ptszVal[i]; i++) { if(dbv.ptszVal[i] == (TCHAR)0x0d) continue; cEntry->statusMsg[j] = dbv.ptszVal[i] == (wchar_t)0x0a ? (wchar_t)' ' : dbv.ptszVal[i]; @@ -348,7 +348,7 @@ BYTE GetCachedStatusMsg(int iExtraCacheEntry, char *szProto) iLen = min(lstrlenW(cEntry->statusMsg), 10); GetStringTypeW(CT_CTYPE2, cEntry->statusMsg, iLen, infoTypeC2); cEntry->dwCFlags &= ~ECF_RTLSTATUSMSG; - for(i = 0; i < 10; i++) { + for (i = 0; i < 10; i++) { if(infoTypeC2[i] == C2_RIGHTTOLEFT) { cEntry->dwCFlags |= ECF_RTLSTATUSMSG; break; @@ -416,7 +416,7 @@ void RTL_DetectAndSet(struct ClcContact *contact, HANDLE hContact) iLen = min(lstrlenW(szText), 10); GetStringTypeW(CT_CTYPE2, szText, iLen, infoTypeC2); cfg::eCache[index].dwCFlags &= ~ECF_RTLNICK; - for(i = 0; i < 10; i++) { + for (i = 0; i < 10; i++) { if(infoTypeC2[i] == C2_RIGHTTOLEFT) { cfg::eCache[index].dwCFlags |= ECF_RTLNICK; return; @@ -436,7 +436,7 @@ void RTL_DetectGroupName(struct ClcContact *group) if(group->szText) { iLen = min(lstrlenW(group->szText), 10); GetStringTypeW(CT_CTYPE2, group->szText, iLen, infoTypeC2); - for(i = 0; i < 10; i++) { + for (i = 0; i < 10; i++) { if(infoTypeC2[i] == C2_RIGHTTOLEFT) { group->isRtl = 1; return; @@ -561,7 +561,7 @@ void ReloadSkinItemsToCache() int i; char *szProto; - for(i = 0; i < cfg::nextCacheEntry; i++) { + for (i = 0; i < cfg::nextCacheEntry; i++) { szProto = (char *)CallService(MS_PROTO_GETCONTACTBASEPROTO, (WPARAM)cfg::eCache[i].hContact, 0); if(szProto) LoadSkinItemToCache(&cfg::eCache[i], szProto); @@ -574,7 +574,7 @@ DWORD CalcXMask(HANDLE hContact) int i; DWORD dwResult = cfg::dat.dwExtraImageMask, bForced, bHidden; - for(i = 0; i <= 10; i++) { + for (i = 0; i <= 10; i++) { bForced = (dwXMask & (1 << (2 * i))); bHidden = (dwXMask & (1 << (2 * i + 1))); if(bForced == 0 && bHidden == 0) -- cgit v1.2.3