summaryrefslogtreecommitdiff
path: root/plugins/ShellExt/src/shlcom.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-09-25 13:35:53 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-09-25 13:35:53 +0000
commit3be1f8e5705a997d94a12a5165a32cfcb867424f (patch)
treece915fb1f7cce59e0a367597e229cd57706fa812 /plugins/ShellExt/src/shlcom.cpp
parentb0fc2c1110d77fce11882cb64b6dc2300cf5355b (diff)
warning fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@6228 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/ShellExt/src/shlcom.cpp')
-rw-r--r--plugins/ShellExt/src/shlcom.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/ShellExt/src/shlcom.cpp b/plugins/ShellExt/src/shlcom.cpp
index ef08c5afcf..3ecc0363ec 100644
--- a/plugins/ShellExt/src/shlcom.cpp
+++ b/plugins/ShellExt/src/shlcom.cpp
@@ -561,7 +561,7 @@ HRESULT RemoveCOMRegistryEntries()
void CheckUnregisterServer()
{
- if (IsWinVerVistaPlus) {
+ if ( IsWinVerVistaPlus()) {
// launches regsvr to remove the dll under admin.
TCHAR szFileName[MAX_PATH], szBuf[MAX_PATH * 2];
GetModuleFileName(hInst, szFileName, SIZEOF(szFileName));
@@ -589,7 +589,7 @@ void CheckRegisterServer()
HKEY hRegKey;
if ( !RegOpenKeyExA(HKEY_CLASSES_ROOT, "miranda.shlext", 0, KEY_READ, &hRegKey))
RegCloseKey(hRegKey);
- else if (IsWinVerVistaPlus) {
+ else if ( IsWinVerVistaPlus()) {
MessageBoxA(0,
"Shell context menus requires your permission to register with Windows Explorer (one time only).",
"Miranda NG - Shell context menus (shellext.dll)", MB_OK | MB_ICONINFORMATION);