diff options
author | George Hazan <george.hazan@gmail.com> | 2014-12-16 14:40:44 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-12-16 14:40:44 +0000 |
commit | d465fbfa8ead75af60f9fcdf936a13c3a4cc11a8 (patch) | |
tree | 4411e3bbba80ba5803d1e529aca068a1a1a0b44b /plugins/IEView/src/TabSRMMHTMLBuilder.cpp | |
parent | 8d31a25ef20056ea6cb1bd71619f23c7ffe36b6b (diff) |
damned magic
git-svn-id: http://svn.miranda-ng.org/main/trunk@11464 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/IEView/src/TabSRMMHTMLBuilder.cpp')
-rw-r--r-- | plugins/IEView/src/TabSRMMHTMLBuilder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/IEView/src/TabSRMMHTMLBuilder.cpp b/plugins/IEView/src/TabSRMMHTMLBuilder.cpp index ae655f9407..d574d6b034 100644 --- a/plugins/IEView/src/TabSRMMHTMLBuilder.cpp +++ b/plugins/IEView/src/TabSRMMHTMLBuilder.cpp @@ -123,7 +123,7 @@ void TabSRMMHTMLBuilder::loadMsgDlgFont(int i, LOGFONTA * lf, COLORREF * colour) if (lf) {
HDC hdc = GetDC(NULL);
mir_snprintf(str, SIZEOF(str), "Font%dSize", i);
- lf->lfHeight = db_get_b(NULL, TABSRMM_FONTMODULE, str, 10);
+ lf->lfHeight = (char)db_get_b(NULL, TABSRMM_FONTMODULE, str, 10);
ReleaseDC(NULL, hdc);
lf->lfWidth = 0;
|