summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-12-16 13:58:49 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-12-16 13:58:49 +0000
commit4f7596e84a4a0caf9801e41aabd9b01b48fcab6f (patch)
tree7cc22161db8aac236810608abcf75237c7d09f1e /src
parente21ee635b2bb4c9de057e00eb613132562513087 (diff)
warning fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@11460 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src')
-rw-r--r--src/modules/plugins/newplugins.cpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/modules/plugins/newplugins.cpp b/src/modules/plugins/newplugins.cpp
index 70fcb8ca4d..82f6d9d6ee 100644
--- a/src/modules/plugins/newplugins.cpp
+++ b/src/modules/plugins/newplugins.cpp
@@ -282,14 +282,12 @@ LBL_Ok:
return 1;
}
// check clist ?
- else if (checkTypeAPI == CHECKAPI_CLIST) {
+ if (checkTypeAPI == CHECKAPI_CLIST) {
bpi->clistlink = (CList_Initialise)GetProcAddress(h, "CListInitialise");
- if (pi->flags & UNICODE_AWARE)
- if (bpi->clistlink)
- goto LBL_Ok;
+ if ((pi->flags & UNICODE_AWARE) && bpi->clistlink)
+ goto LBL_Ok;
}
- else
- goto LBL_Error;
+ goto LBL_Error;
}
// perform any API related tasks to freeing