diff options
author | George Hazan <ghazan@miranda.im> | 2017-11-13 17:28:55 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-11-13 17:32:23 +0300 |
commit | cbcc7740eef70c30660f41acc0ae78a6c48eb2f0 (patch) | |
tree | 1f5b19be37bc22e57e531e02cb06909ecffe31e7 | |
parent | a7c24ca48995cf2bf436156302f96b91bf135409 (diff) |
unused fields removed
-rw-r--r-- | include/m_chat.h | 5 | ||||
-rw-r--r-- | protocols/MRA/src/MraChat.cpp | 1 | ||||
-rw-r--r-- | protocols/Omegle/src/proto.cpp | 2 |
3 files changed, 0 insertions, 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;
|