From d154673f93ad95197bce8cadb995daa5bc39f5d8 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 21 Jan 2014 20:04:48 +0000 Subject: minor code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@7820 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/modules/utils/openurl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/utils/openurl.cpp') diff --git a/src/modules/utils/openurl.cpp b/src/modules/utils/openurl.cpp index f9b6f4caff..a4722f804f 100644 --- a/src/modules/utils/openurl.cpp +++ b/src/modules/utils/openurl.cpp @@ -34,7 +34,7 @@ typedef struct { static void OpenURLThread(void *arg) { TOpenUrlInfo *hUrlInfo = (TOpenUrlInfo*)arg; - if ( !hUrlInfo->szUrl) + if (!hUrlInfo->szUrl) return; //wack a protocol on it @@ -49,7 +49,7 @@ static void OpenURLThread(void *arg) if (hUrlInfo->szUrl[i] == ':') szResult = mir_tstrdup(hUrlInfo->szUrl); else { - if ( !_tcsnicmp(hUrlInfo->szUrl, _T("ftp."), 4)) + if (!_tcsnicmp(hUrlInfo->szUrl, _T("ftp."), 4)) mir_sntprintf(szResult, size, _T("ftp://%s"), hUrlInfo->szUrl); else mir_sntprintf(szResult, size, _T("http://%s"), hUrlInfo->szUrl); -- cgit v1.2.3