diff options
author | George Hazan <george.hazan@gmail.com> | 2014-01-21 20:04:48 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-01-21 20:04:48 +0000 |
commit | d154673f93ad95197bce8cadb995daa5bc39f5d8 (patch) | |
tree | 191522aa88f9f845a9c27b1ddb86116b87033c4b /src/modules/utils/openurl.cpp | |
parent | be50a70bfd8b3f3daf0c3351fdce6e2fea515bd7 (diff) |
minor code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@7820 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/utils/openurl.cpp')
-rw-r--r-- | src/modules/utils/openurl.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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);
|