summaryrefslogtreecommitdiff
path: root/plugins/NewStory/src
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/NewStory/src')
-rw-r--r--plugins/NewStory/src/history_array.cpp1
-rw-r--r--plugins/NewStory/src/templates.cpp2
2 files changed, 1 insertions, 2 deletions
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"</font>"); continue;
case 1: buf.Append(L"<font class=\"nick\">"); continue;
case 2: case 3: case 4: case 5: case 6:
- buf.AppendFormat(L"<font color=%06X>", color2html(g_plugin.clCustom[colorId-2]));
+ buf.AppendFormat(L"<font color=#%06X>", color2html(g_plugin.clCustom[colorId-2]));
continue;
}
}