diff options
author | George Hazan <george.hazan@gmail.com> | 2014-01-16 11:33:08 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-01-16 11:33:08 +0000 |
commit | da2edf0603f1552ef53325fa558c28a3c6fdec94 (patch) | |
tree | d8e7844e7ae6c42cb53559ab1e5fcd5aa4bfa6bf /src/modules/chat/manager.cpp | |
parent | 38ab4dde6b080defc5e7d7b286110d580cabdaa0 (diff) |
- two chat HBRUSHes moved into CHAT_MANAGER;
- fix for changing fonts;
- crash fix for StdChat unloading;
git-svn-id: http://svn.miranda-ng.org/main/trunk@7677 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/chat/manager.cpp')
-rw-r--r-- | src/modules/chat/manager.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/modules/chat/manager.cpp b/src/modules/chat/manager.cpp index b59420f8dd..d2f50ba864 100644 --- a/src/modules/chat/manager.cpp +++ b/src/modules/chat/manager.cpp @@ -1473,14 +1473,16 @@ CHAT_MANAGER ci = SetAllOffline,
AddEvent,
FindRoom,
- NULL, // must be implemented in a plugin
Log_CreateRTF,
- LoadMsgDlgFont
+ LoadMsgDlgFont,
+ MakeTimeStamp
};
INT_PTR SvcGetChatManager(WPARAM, LPARAM lParam)
{
LoadChatModule();
+
+ memset(PBYTE(&ci) + offsetof(CHAT_MANAGER, OnSessionDblClick), 0, sizeof(CHAT_MANAGER) - offsetof(CHAT_MANAGER, OnSessionDblClick));
ci.pSettings = (GlobalLogSettingsBase*)lParam;
OptionsInit();
return (INT_PTR)&ci;
|