From 4f7596e84a4a0caf9801e41aabd9b01b48fcab6f Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 16 Dec 2014 13:58:49 +0000 Subject: warning fix git-svn-id: http://svn.miranda-ng.org/main/trunk@11460 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/modules/plugins/newplugins.cpp | 10 ++++------ 1 file 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 -- cgit v1.2.3