diff options
author | George Hazan <ghazan@miranda.im> | 2018-06-13 22:26:05 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-06-13 22:26:05 +0300 |
commit | 5759ff7d9ba2e67598a68cffc5a7934784fb9cca (patch) | |
tree | 70f1c6240adeb0de41698f2376abdd41d744429e | |
parent | 734a0c2ce025703b6ad29469ec21c0545a0905ae (diff) |
fixes #1398 (Cannot disable OpenSSL plugin between starts)
-rw-r--r-- | plugins/OpenSSL/src/main.cpp | 2 | ||||
-rw-r--r-- | src/mir_app/src/pluginopts.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/OpenSSL/src/main.cpp b/plugins/OpenSSL/src/main.cpp index 1bc4bda216..6221b7c325 100644 --- a/plugins/OpenSSL/src/main.cpp +++ b/plugins/OpenSSL/src/main.cpp @@ -43,7 +43,7 @@ PLUGININFOEX pluginInfoEx = { __AUTHOR,
__COPYRIGHT,
__AUTHORWEB,
- UNICODE_AWARE | STATIC_PLUGIN,
+ UNICODE_AWARE,
// {B649702C-13DE-408A-B6C2-FB8FED2A2C90}
{ 0xb649702c, 0x13de, 0x408a, { 0xb6, 0xc2, 0xfb, 0x8f, 0xed, 0x2a, 0x2c, 0x90 } }
};
diff --git a/src/mir_app/src/pluginopts.cpp b/src/mir_app/src/pluginopts.cpp index 9414d61d51..3d2f8a929c 100644 --- a/src/mir_app/src/pluginopts.cpp +++ b/src/mir_app/src/pluginopts.cpp @@ -115,7 +115,7 @@ static BOOL dialogListPlugins(WIN32_FIND_DATA *fd, wchar_t *path, WPARAM, LPARAM it.mask = LVIF_PARAM | LVIF_IMAGE;
it.iImage = (hInst != nullptr) ? 2 : 3;
bool bNoCheckbox = (dat->flags & STATIC_PLUGIN) != 0;
- if (bNoCheckbox || hasMuuid(pIds, MIID_CLIST))
+ if (bNoCheckbox || hasMuuid(pIds, MIID_CLIST) || hasMuuid(pIds, MIID_SSL))
it.iImage += 2;
it.lParam = (LPARAM)dat;
int iRow = ListView_InsertItem(hwndList, &it);
|