summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/msgoptions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/TabSRMM/src/msgoptions.cpp')
-rw-r--r--plugins/TabSRMM/src/msgoptions.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/TabSRMM/src/msgoptions.cpp b/plugins/TabSRMM/src/msgoptions.cpp
index 18f478eff2..88b7e23dd3 100644
--- a/plugins/TabSRMM/src/msgoptions.cpp
+++ b/plugins/TabSRMM/src/msgoptions.cpp
@@ -57,10 +57,10 @@ HIMAGELIST CreateStateImageList()
return himlStates;
}
-void TSAPI LoadLogfont(int i, LOGFONTA * lf, COLORREF * colour, char *szModule)
+void LoadLogfont(int section, int i, LOGFONTA * lf, COLORREF * colour, char *szModule)
{
LOGFONT lfResult;
- LoadMsgDlgFont((i < 100) ? FONTSECTION_IM : FONTSECTION_IP, i, &lfResult, colour, szModule);
+ LoadMsgDlgFont(section, i, &lfResult, colour, szModule);
if (lf) {
lf->lfHeight = lfResult.lfHeight;
lf->lfWidth = lfResult.lfWidth;