From d465fbfa8ead75af60f9fcdf936a13c3a4cc11a8 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 16 Dec 2014 14:40:44 +0000 Subject: damned magic git-svn-id: http://svn.miranda-ng.org/main/trunk@11464 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/IEView/src/HistoryHTMLBuilder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/IEView/src/HistoryHTMLBuilder.cpp') diff --git a/plugins/IEView/src/HistoryHTMLBuilder.cpp b/plugins/IEView/src/HistoryHTMLBuilder.cpp index 2f4b16927b..1672002100 100644 --- a/plugins/IEView/src/HistoryHTMLBuilder.cpp +++ b/plugins/IEView/src/HistoryHTMLBuilder.cpp @@ -109,7 +109,7 @@ void HistoryHTMLBuilder::loadMsgDlgFont(const char *dbSetting, LOGFONTA * lf, CO } if (lf) { mir_snprintf(str, SIZEOF(str), "Font.%s.Size", dbSetting); - lf->lfHeight = db_get_b(NULL, HPPMOD, str, 10); + lf->lfHeight = (char)db_get_b(NULL, HPPMOD, str, 10); lf->lfWidth = 0; lf->lfEscapement = 0; lf->lfOrientation = 0; -- cgit v1.2.3