From 711fc0c0283af7aa8c7c30ac5fe05105b04250a5 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 23 Mar 2024 13:03:44 +0300 Subject: fix for custom fonts drawing --- plugins/NewStory/src/history_array.cpp | 1 - plugins/NewStory/src/templates.cpp | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'plugins/NewStory/src') diff --git a/plugins/NewStory/src/history_array.cpp b/plugins/NewStory/src/history_array.cpp index 6a88558640..83b839f0e6 100644 --- a/plugins/NewStory/src/history_array.cpp +++ b/plugins/NewStory/src/history_array.cpp @@ -220,7 +220,6 @@ int ItemData::calcHeight(int top, int width, POINT *pPos) if (savedHeight == -1) { m_doc->render(sz.cx); savedHeight = m_doc->height() + 5; - Netlib_Logf(0, "Event %d rendered to %d with width %d", dbe.getEvent(), savedHeight, sz.cx); } if (pPos) diff --git a/plugins/NewStory/src/templates.cpp b/plugins/NewStory/src/templates.cpp index 298141b943..a6b18f4ed6 100644 --- a/plugins/NewStory/src/templates.cpp +++ b/plugins/NewStory/src/templates.cpp @@ -87,7 +87,7 @@ static void AppendString(CMStringW &buf, const wchar_t *p) case 0: buf.Append(L""); continue; case 1: buf.Append(L""); continue; case 2: case 3: case 4: case 5: case 6: - buf.AppendFormat(L"", color2html(g_plugin.clCustom[colorId-2])); + buf.AppendFormat(L"", color2html(g_plugin.clCustom[colorId-2])); continue; } } -- cgit v1.2.3