diff options
Diffstat (limited to 'plugins/NewStory/src')
-rw-r--r-- | plugins/NewStory/src/history_control.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/NewStory/src/history_control.cpp b/plugins/NewStory/src/history_control.cpp index 5ebf7b6f2f..669e5f40f3 100644 --- a/plugins/NewStory/src/history_control.cpp +++ b/plugins/NewStory/src/history_control.cpp @@ -536,6 +536,9 @@ CMStringW NewstoryListData::GatherSelected(bool bTextOnly) continue;
CMStringW wszText(bTextOnly ? p->wtext : p->formatString());
+ if (wszText.IsEmpty())
+ continue;
+
RemoveBbcodes(wszText);
ret.Append(wszText);
ret.Append(L"\r\n");
|