diff options
Diffstat (limited to 'plugins/Scriver')
-rw-r--r-- | plugins/Scriver/src/chat/main.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/Scriver/src/chat/main.cpp b/plugins/Scriver/src/chat/main.cpp index 8274ed3720..c164c00b48 100644 --- a/plugins/Scriver/src/chat/main.cpp +++ b/plugins/Scriver/src/chat/main.cpp @@ -149,10 +149,11 @@ static BOOL DoPopup(SESSION_INFO *si, GCEVENT *gce) static void OnLoadSettings()
{
- LOGFONT lf;
if (g_Settings.MessageBoxFont)
DeleteObject(g_Settings.MessageBoxFont);
- pci->LoadMsgDlgFont(17, &lf, NULL);
+
+ LOGFONT lf;
+ LoadMsgDlgFont(MSGFONTID_MESSAGEAREA, &lf, NULL);
g_Settings.MessageBoxFont = CreateFontIndirect(&lf);
}
|