From cbcc7740eef70c30660f41acc0ae78a6c48eb2f0 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 13 Nov 2017 17:28:55 +0300 Subject: unused fields removed --- include/m_chat.h | 5 ----- protocols/MRA/src/MraChat.cpp | 1 - protocols/Omegle/src/proto.cpp | 2 -- 3 files changed, 8 deletions(-) diff --git a/include/m_chat.h b/include/m_chat.h index b4cac396df..61647eb81b 100644 --- a/include/m_chat.h +++ b/include/m_chat.h @@ -144,11 +144,6 @@ struct GCREGISTER const wchar_t *ptszDispName; // This is the protocol's real name as it will be displayed to the user unsigned dwFlags; // Use GC_* flags above to indicate features supported int iMaxText; // Max message length the protocol supports. Will limit the typing area input. 0 = no limit - int nColors; // Number of colors in the colorchooser menu for the color buttons. Max = 100 - COLORREF *pColors; // pointer to the first item in a static COLORREF array containing the colors - // that should be showed in the colorchooser menu. - // ie: COLORREF crCols[nColors]; - // pColors = &crCols[0]; }; EXTERN_C MIR_APP_DLL(int) Chat_Register(const GCREGISTER*); diff --git a/protocols/MRA/src/MraChat.cpp b/protocols/MRA/src/MraChat.cpp index 44dbfab5f8..237e486312 100644 --- a/protocols/MRA/src/MraChat.cpp +++ b/protocols/MRA/src/MraChat.cpp @@ -11,7 +11,6 @@ bool CMraProto::MraChatRegister() { GCREGISTER gcr = {}; gcr.iMaxText = MRA_MAXLENOFMESSAGE; - gcr.nColors = 0; gcr.ptszDispName = m_tszUserName; gcr.pszModule = m_szModuleName; Chat_Register(&gcr); diff --git a/protocols/Omegle/src/proto.cpp b/protocols/Omegle/src/proto.cpp index 3f98ad8845..826d8c2eda 100644 --- a/protocols/Omegle/src/proto.cpp +++ b/protocols/Omegle/src/proto.cpp @@ -170,8 +170,6 @@ int OmegleProto::OnModulesLoaded(WPARAM, LPARAM) gcr.pszModule = m_szModuleName; gcr.ptszDispName = m_tszUserName; gcr.iMaxText = OMEGLE_MESSAGE_LIMIT; - gcr.nColors = 0; - gcr.pColors = nullptr; Chat_Register(&gcr); return 0; -- cgit v1.2.3