summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/NewStory/src/history.h4
-rw-r--r--plugins/NewStory/src/templates.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/plugins/NewStory/src/history.h b/plugins/NewStory/src/history.h
index 84d3169f0f..d21c8be1e3 100644
--- a/plugins/NewStory/src/history.h
+++ b/plugins/NewStory/src/history.h
@@ -26,8 +26,8 @@ enum
UM_GET_EVENT_HANDLE,
UM_GET_EVENT_CONTACT,
- UM_BOOKMARKS = WM_USER + 0x601,
- UM_LOCATETIME = WM_USER + 0x602,
+ UM_BOOKMARKS = WM_USER + 0x661,
+ UM_LOCATETIME = WM_USER + 0x662,
};
extern MWindowList g_hNewstoryWindows, g_hNewstoryLogs;
diff --git a/plugins/NewStory/src/templates.cpp b/plugins/NewStory/src/templates.cpp
index 7707e742b0..589016b072 100644
--- a/plugins/NewStory/src/templates.cpp
+++ b/plugins/NewStory/src/templates.cpp
@@ -199,8 +199,8 @@ static void AppendString(CMStringW &buf, const wchar_t *p, ItemData *pItem)
}
else p--;
}
- else if (!wcsncmp(p, L"color]", 6)) {
- p += 5;
+ else if (!wcsncmp(p, L"/color]", 7)) {
+ p += 6;
buf.AppendFormat(L"</font>");
}
else if (!wcsncmp(p, L"code]", 5)) {