diff options
author | George Hazan <george.hazan@gmail.com> | 2024-05-12 19:48:38 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2024-05-12 19:48:38 +0300 |
commit | f13d9cfc576f434c4c3b30ad26a8aad4f133c732 (patch) | |
tree | fd551d4ad6915b72bab5a4a8c024e5247d536ddf /plugins/NewStory/src/history_array.cpp | |
parent | b7e7695a016663f8ec0f8fa57de9e2d3dfd466a2 (diff) |
DbEvent_GetTextW: fix to extract event's text correctly
Diffstat (limited to 'plugins/NewStory/src/history_array.cpp')
-rw-r--r-- | plugins/NewStory/src/history_array.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/NewStory/src/history_array.cpp b/plugins/NewStory/src/history_array.cpp index b2268f81c2..580234ca0d 100644 --- a/plugins/NewStory/src/history_array.cpp +++ b/plugins/NewStory/src/history_array.cpp @@ -370,7 +370,8 @@ void ItemData::load(bool bLoadAlways) switch (dbe.eventType) {
case EVENTTYPE_MESSAGE:
pOwner->MarkRead(this);
- __fallthrough;
+ wtext = DbEvent_GetTextW(&dbe);
+ break;
case EVENTTYPE_STATUSCHANGE:
wtext = mir_utf8decodeW((char *)dbe.pBlob);
|