summaryrefslogtreecommitdiff
path: root/src/modules/utils/openurl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/utils/openurl.cpp')
-rw-r--r--src/modules/utils/openurl.cpp4
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);