summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2024-09-11 14:40:05 +0300
committerGeorge Hazan <george.hazan@gmail.com>2024-09-11 14:40:05 +0300
commit2c2c6484dc2eb7b3da52f9054435dc680f64b132 (patch)
tree687f2dba4be771b26d2fa97ceb4b99cadf5dc163 /include
parent61325c65c5b8549fbc05144ba533fe60ddd7853b (diff)
fixes #4650 (Окно сообщений: кнопки форматирования текста работают в приватах, но не в групчатах)
Diffstat (limited to 'include')
-rw-r--r--include/m_chat.h15
-rw-r--r--include/m_chat_int.h2
2 files changed, 5 insertions, 12 deletions
diff --git a/include/m_chat.h b/include/m_chat.h
index ea716ea040..49c3a41dfa 100644
--- a/include/m_chat.h
+++ b/include/m_chat.h
@@ -125,16 +125,11 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
// Flags
-#define GC_BOLD 0x0001 // enable the 'bold' button
-#define GC_ITALICS 0x0002 // enable the 'italics' button
-#define GC_UNDERLINE 0x0004 // enable the 'underline' button
-#define GC_COLOR 0x0008 // enable the 'foreground color' button
-#define GC_BKGCOLOR 0x0010 // enable the 'background color' button
-#define GC_ACKMSG 0x0020 // the protocol must acknowlege messages sent
-#define GC_TYPNOTIF 0x0040 // enable typing notifications.
-#define GC_CHANMGR 0x0080 // enable the 'channel settings' button
-#define GC_DATABASE 0x0100 // all events are backed in the database
-#define GC_PERSISTENT 0x0200 // chat structure is stored offline not to retrieve it each time
+#define GC_CHANMGR 0x0001 // enable the 'channel settings' button
+#define GC_DATABASE 0x0002 // all events are backed in the database
+#define GC_PERSISTENT 0x0004 // chat structure is stored offline not to retrieve it each time
+#define GC_ACKMSG 0x0008 // the protocol must acknowlege messages sent
+#define GC_TYPNOTIF 0x0010 // enable typing notifications.
// Error messages
#define GC_ERROR 1 // An internal error occurred.
diff --git a/include/m_chat_int.h b/include/m_chat_int.h
index 2d01f08ff4..bd9f340d41 100644
--- a/include/m_chat_int.h
+++ b/include/m_chat_int.h
@@ -103,8 +103,6 @@ struct MIR_APP_EXPORT GCModuleInfoBase : public MZeroedObject, public MNonCopyab
char* pszModule;
wchar_t* ptszModDispName;
- bool bBold, bItalics, bUnderline;
- bool bColor, bBkgColor;
bool bChanMgr, bAckMsg, bDatabase, bPersistent;
int iMaxText;