diff options
author | George Hazan <ghazan@miranda.im> | 2018-05-22 19:50:35 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-05-22 19:50:35 +0300 |
commit | 09121bfc0da22a40142e70a276a47fb639390cc4 (patch) | |
tree | a369bb066a979e0e9e573064c7f743a5a429b7b5 /plugins/Scriver/src | |
parent | 1340b3b8f0e597797b99814c5ed0496cb3429a2a (diff) |
m_chat_int.h => CMPlugin
Diffstat (limited to 'plugins/Scriver/src')
-rw-r--r-- | plugins/Scriver/src/chat_main.cpp | 2 | ||||
-rw-r--r-- | plugins/Scriver/src/stdafx.h | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/plugins/Scriver/src/chat_main.cpp b/plugins/Scriver/src/chat_main.cpp index 7be39fdf65..503c8b07b0 100644 --- a/plugins/Scriver/src/chat_main.cpp +++ b/plugins/Scriver/src/chat_main.cpp @@ -129,7 +129,7 @@ static void OnLoadSettings() int Chat_Load()
{
- CHAT_MANAGER_INITDATA data = { &g_Settings, sizeof(MODULEINFO), sizeof(SESSION_INFO), LPGENW("Messaging") L"/" LPGENW("Group chats"), FONTMODE_SKIP };
+ CHAT_MANAGER_INITDATA data = { &g_Settings, sizeof(MODULEINFO), sizeof(SESSION_INFO), LPGENW("Messaging") L"/" LPGENW("Group chats"), FONTMODE_SKIP, g_plugin.m_hLang };
pci = Chat_GetInterface(&data);
pci->OnCreateModule = OnCreateModule;
diff --git a/plugins/Scriver/src/stdafx.h b/plugins/Scriver/src/stdafx.h index 7624a32ac3..e023334fe9 100644 --- a/plugins/Scriver/src/stdafx.h +++ b/plugins/Scriver/src/stdafx.h @@ -68,6 +68,11 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include <m_smileyadd.h>
#include <m_metacontacts.h>
+struct CMPlugin : public PLUGIN<CMPlugin>
+{
+ CMPlugin();
+};
+
#include "resource.h"
#include "version.h"
@@ -116,11 +121,6 @@ int StatusIconPressed(WPARAM wParam, LPARAM lParam); #include "statusicon.h"
#include "chat.h"
-struct CMPlugin : public PLUGIN<CMPlugin>
-{
- CMPlugin();
-};
-
extern GlobalMessageData g_dat;
#endif
|