diff options
author | George Hazan <george.hazan@gmail.com> | 2024-09-16 19:47:59 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2024-09-16 19:47:59 +0300 |
commit | 768c0eb243e3bd89d97152bbb178262c69b62b93 (patch) | |
tree | 42c2c665cebc88d7f23ecb28042a524e3d2f764f | |
parent | ccde738e49d3102681ab38c6b3e250e9fb57c8bb (diff) |
fixes #4667 (tabSRMM+NewStory: при выделении сообщения с форматированием пропадают кнопки тулбара)
-rw-r--r-- | plugins/NewStory/src/history.h | 4 | ||||
-rw-r--r-- | plugins/NewStory/src/templates.cpp | 4 |
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)) {
|