diff options
author | George Hazan <ghazan@miranda.im> | 2018-06-09 14:12:20 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-06-09 14:12:20 +0300 |
commit | ae8e9d41f8b5cfb121d39143c31a8e19c0a4b9c1 (patch) | |
tree | 87013126d9fa30168bf271089e261b016f906905 /plugins/SmileyAdd/src/dlgboxsubclass.cpp | |
parent | 28df550d24979753fe8743e22a71defd89e6bbd7 (diff) |
SmileyAdd: obsolete option "Enable smileys" removed, because now we can control toolbar buttons for all plugins from the Options - Message sessions - toolbar
Diffstat (limited to 'plugins/SmileyAdd/src/dlgboxsubclass.cpp')
-rw-r--r-- | plugins/SmileyAdd/src/dlgboxsubclass.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/plugins/SmileyAdd/src/dlgboxsubclass.cpp b/plugins/SmileyAdd/src/dlgboxsubclass.cpp index e24678d6ad..f8adf3d796 100644 --- a/plugins/SmileyAdd/src/dlgboxsubclass.cpp +++ b/plugins/SmileyAdd/src/dlgboxsubclass.cpp @@ -27,16 +27,14 @@ struct MsgWndData : public MZeroedObject {
HWND hwnd, hwndLog, hwndInput;
int idxLastChar;
- bool doSmileyReplace, doSmileyButton;
+ bool doSmileyReplace;
MCONTACT hContact;
char ProtocolName[52];
void CreateSmileyButton(void)
{
- doSmileyButton = opt.ButtonStatus != 0;
-
SmileyPackType *SmileyPack = GetSmileyPack(ProtocolName, hContact);
- doSmileyButton &= SmileyPack != nullptr && SmileyPack->VisibleSmileyCount() != 0;
+ bool doSmileyButton = SmileyPack != nullptr && SmileyPack->VisibleSmileyCount() != 0;
doSmileyReplace = true;
|