summaryrefslogtreecommitdiff
path: root/include/m_chat_int.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/m_chat_int.h')
-rw-r--r--include/m_chat_int.h8
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__