From 602b5649c01971b1289b63690bd66743f3f9387c Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Fri, 14 Nov 2014 20:51:35 +0000 Subject: minor fixes git-svn-id: http://svn.miranda-ng.org/main/trunk@10990 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/NewsAggregator/Src/Utils.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'plugins/NewsAggregator/Src/Utils.cpp') 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); -- cgit v1.2.3