diff options
author | George Hazan <ghazan@miranda.im> | 2017-03-14 15:55:26 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-03-14 15:55:26 +0300 |
commit | 58934a360e8ff68bc81d3fd7e17026f7bbb329f0 (patch) | |
tree | 72e45792ff17076f71d1a4dd540ae29a4e4ac262 /plugins/TabSRMM/src/msgoptions.cpp | |
parent | abf4069c2e3473da8f1d468e46c19951935a912f (diff) |
some fixes to make Coverity happier
Diffstat (limited to 'plugins/TabSRMM/src/msgoptions.cpp')
-rw-r--r-- | plugins/TabSRMM/src/msgoptions.cpp | 4 |
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;
|