summaryrefslogtreecommitdiff
path: root/plugins/NewsAggregstor/Src
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/NewsAggregstor/Src')
-rw-r--r--plugins/NewsAggregstor/Src/Entities.cpp4
-rw-r--r--plugins/NewsAggregstor/Src/Options.cpp2
-rw-r--r--plugins/NewsAggregstor/Src/Services.cpp6
-rw-r--r--plugins/NewsAggregstor/Src/Utils.cpp6
4 files changed, 9 insertions, 9 deletions
diff --git a/plugins/NewsAggregstor/Src/Entities.cpp b/plugins/NewsAggregstor/Src/Entities.cpp
index 7d6daf4a94..46a00d2d8d 100644
--- a/plugins/NewsAggregstor/Src/Entities.cpp
+++ b/plugins/NewsAggregstor/Src/Entities.cpp
@@ -313,7 +313,7 @@ static size_t putc_utf8(unsigned long cp, char *buffer)
static BOOL parse_entity(const char *current, char **to, const char **from)
{
const char *end = strchr(current, ';');
- if(!end) return 0;
+ if (!end) return 0;
if(current[1] == '#')
{
@@ -353,7 +353,7 @@ static BOOL parse_entity(const char *current, char **to, const char **from)
size_t decode_html_entities_utf8(char *dest, const char *src)
{
- if(!src) src = dest;
+ if (!src) src = dest;
char *to = dest;
const char *from = src;
diff --git a/plugins/NewsAggregstor/Src/Options.cpp b/plugins/NewsAggregstor/Src/Options.cpp
index 74249b1a64..b9dc78b90c 100644
--- a/plugins/NewsAggregstor/Src/Options.cpp
+++ b/plugins/NewsAggregstor/Src/Options.cpp
@@ -619,7 +619,7 @@ INT_PTR CALLBACK UpdateNotifyOptsProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPA
case LVN_ITEMCHANGED:
{
NMLISTVIEW *nmlv = (NMLISTVIEW *)lParam;
- if(((nmlv->uNewState ^ nmlv->uOldState) & LVIS_STATEIMAGEMASK) && !UpdateListFlag)
+ if (((nmlv->uNewState ^ nmlv->uOldState) & LVIS_STATEIMAGEMASK) && !UpdateListFlag)
{
SendMessage(GetParent(hwndDlg), PSM_CHANGED, 0, 0);
}
diff --git a/plugins/NewsAggregstor/Src/Services.cpp b/plugins/NewsAggregstor/Src/Services.cpp
index b47d688f08..0c23983c79 100644
--- a/plugins/NewsAggregstor/Src/Services.cpp
+++ b/plugins/NewsAggregstor/Src/Services.cpp
@@ -115,7 +115,7 @@ INT_PTR NewsAggrGetCaps(WPARAM wp,LPARAM lp)
INT_PTR NewsAggrSetStatus(WPARAM wp,LPARAM /*lp*/)
{
int nStatus = wp;
- if((ID_STATUS_ONLINE == nStatus) || (ID_STATUS_OFFLINE == nStatus))
+ if ((ID_STATUS_ONLINE == nStatus) || (ID_STATUS_OFFLINE == nStatus))
{
int nOldStatus = g_nStatus;
if(nStatus != g_nStatus)
@@ -182,7 +182,7 @@ INT_PTR ChangeFeed(WPARAM wParam,LPARAM lParam)
{
HANDLE hContact = (HANDLE) wParam;
HWND hChangeFeedDlg = WindowList_Find(hChangeFeedDlgList,hContact);
- if(!hChangeFeedDlg)
+ if (!hChangeFeedDlg)
{
hChangeFeedDlg = CreateDialogParam(hInst, MAKEINTRESOURCE(IDD_ADDFEED), NULL, DlgProcChangeFeedMenu, (LPARAM)hContact);
ShowWindow(hChangeFeedDlg, SW_SHOW);
@@ -219,7 +219,7 @@ INT_PTR NewsAggrGetAvatarInfo(WPARAM wParam,LPARAM lParam)
{
PROTO_AVATAR_INFORMATION* pai = (PROTO_AVATAR_INFORMATION*) lParam;
- if(!IsMyContact(pai->hContact))
+ if (!IsMyContact(pai->hContact))
return GAIR_NOAVATAR;
// if GAIF_FORCE is set, we are updating the feed
diff --git a/plugins/NewsAggregstor/Src/Utils.cpp b/plugins/NewsAggregstor/Src/Utils.cpp
index 85503966ce..c42a3f7dd1 100644
--- a/plugins/NewsAggregstor/Src/Utils.cpp
+++ b/plugins/NewsAggregstor/Src/Utils.cpp
@@ -487,7 +487,7 @@ BOOL DownloadFile(LPCTSTR tszURL, LPCTSTR tszLocal)
if(pReply)
{
- if((200 == pReply->resultCode) && (pReply->dataLength > 0))
+ if ((200 == pReply->resultCode) && (pReply->dataLength > 0))
{
char *date = NULL, *size = NULL;
for (int i = 0; i < pReply->headersCount; i++)
@@ -834,7 +834,7 @@ VOID CheckCurrentFeed(HANDLE hContact)
pai.hContact = hContact;
DBVARIANT dbVar = {0};
- if(!DBGetContactSettingTString(hContact, MODULE, "Nick", &dbVar))
+ if (!DBGetContactSettingTString(hContact, MODULE, "Nick", &dbVar))
{
TCHAR *ext = _tcsrchr((TCHAR*)url, _T('.')) + 1;
pai.format = GetImageFormat(ext);
@@ -1161,7 +1161,7 @@ VOID CheckCurrentFeed(HANDLE hContact)
pai.hContact = hContact;
DBVARIANT dbVar = {0};
- if(!DBGetContactSettingTString(hContact, MODULE, "Nick", &dbVar))
+ if (!DBGetContactSettingTString(hContact, MODULE, "Nick", &dbVar))
{
TCHAR *ext = _tcsrchr((TCHAR*)url, _T('.')) + 1;
pai.format = GetImageFormat(ext);