summaryrefslogtreecommitdiff
path: root/plugins/NewsAggregator/Src/Utils.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2014-11-14 20:51:35 +0000
committerKirill Volinsky <mataes2007@gmail.com>2014-11-14 20:51:35 +0000
commit602b5649c01971b1289b63690bd66743f3f9387c (patch)
treefd3fbb62cb291024e60ca67ce59b01caf5da8aab /plugins/NewsAggregator/Src/Utils.cpp
parent81483e839d08683e35b74f42b2c4081c8101547c (diff)
minor fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@10990 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/NewsAggregator/Src/Utils.cpp')
-rw-r--r--plugins/NewsAggregator/Src/Utils.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/NewsAggregator/Src/Utils.cpp b/plugins/NewsAggregator/Src/Utils.cpp
index fa2f14fac3..cb85c4da41 100644
--- a/plugins/NewsAggregator/Src/Utils.cpp
+++ b/plugins/NewsAggregator/Src/Utils.cpp
@@ -20,9 +20,9 @@ Boston, MA 02111-1307, USA.
#include "common.h"
HANDLE hNetlibUser = NULL, hNetlibHttp;
-BOOL UpdateListFlag = FALSE;
+bool UpdateListFlag = FALSE;
-BOOL IsMyContact(MCONTACT hContact)
+bool IsMyContact(MCONTACT hContact)
{
const char *szProto = GetContactProto(hContact);
return szProto != NULL && strcmp(MODULE, szProto) == 0;
@@ -189,7 +189,7 @@ void DeleteAllItems(HWND hwndList)
ListView_DeleteAllItems(hwndList);
}
-time_t __stdcall DateToUnixTime(const TCHAR *stamp, BOOL FeedType)
+time_t __stdcall DateToUnixTime(const TCHAR *stamp, bool FeedType)
{
struct tm timestamp;
TCHAR date[9];
@@ -213,7 +213,7 @@ time_t __stdcall DateToUnixTime(const TCHAR *stamp, BOOL FeedType)
}
else {
TCHAR weekday[4], monthstr[4], timezonesign[2];
- INT day, month, year, hour, min, sec, timezoneh, timezonem;
+ int day, month, year, hour, min, sec, timezoneh, timezonem;
if (_tcsstr(p, _T(","))) {
_stscanf(p, _T("%3s, %d %3s %d %d:%d:%d %1s%02d%02d"), &weekday, &day, &monthstr, &year, &hour, &min, &sec, &timezonesign, &timezoneh, &timezonem);
if (!lstrcmpi(monthstr, _T("Jan")))
@@ -394,7 +394,7 @@ int StrReplace(TCHAR *lpszOld, const TCHAR *lpszNew, TCHAR *&lpszStr)
return nSize;
}
-BOOL DownloadFile(LPCTSTR tszURL, LPCTSTR tszLocal)
+bool DownloadFile(LPCTSTR tszURL, LPCTSTR tszLocal)
{
NETLIBHTTPREQUEST nlhr = {0};
nlhr.cbSize = sizeof(nlhr);