diff options
author | George Hazan <george.hazan@gmail.com> | 2014-01-19 14:02:37 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-01-19 14:02:37 +0000 |
commit | 1541d27e5a23f2fa680d129603a73420483c7689 (patch) | |
tree | b6bfd1df9d175d4f8675c9548fb9b898469266f0 /include/m_chat_int.h | |
parent | 9e28cb9292146942a0eccc0712ee80fb83f5b2d7 (diff) |
fix for dynamic fonts registering
git-svn-id: http://svn.miranda-ng.org/main/trunk@7758 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include/m_chat_int.h')
-rw-r--r-- | include/m_chat_int.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/m_chat_int.h b/include/m_chat_int.h index f7179aa2f8..34affee3d5 100644 --- a/include/m_chat_int.h +++ b/include/m_chat_int.h @@ -286,11 +286,16 @@ struct GlobalLogSettingsBase /////////////////////////////////////////////////////////////////////////////////////////
+#define FONTMODE_USE 1
+#define FONTMODE_SKIP 2
+#define FONTMODE_ALTER 3
+
struct CHAT_MANAGER_INITDATA
{
GlobalLogSettingsBase *pSettings;
int cbModuleInfo, cbSession;
TCHAR *szFontGroup;
+ int iFontMode;
};
struct CHAT_MANAGER
@@ -426,10 +431,11 @@ struct CHAT_MANAGER };
extern CHAT_MANAGER ci, *pci;
+extern int hLangpack;
__forceinline void mir_getCI(CHAT_MANAGER_INITDATA *pData)
{
- pci = (CHAT_MANAGER*)CallService("GChat/GetInterface", 0, (LPARAM)pData);
+ pci = (CHAT_MANAGER*)CallService("GChat/GetInterface", hLangpack, (LPARAM)pData);
}
#endif // M_CHAT_INT_H__
|