diff options
author | George Hazan <ghazan@miranda.im> | 2023-04-12 18:45:44 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2023-04-12 18:45:44 +0300 |
commit | 3fe5f97dcd7c8ef8deabc32a83f5075df13bc8d2 (patch) | |
tree | 368e31221d2f0f0091d69a06f55934009aeaeeee /plugins/NewEventNotify/src/popup.cpp | |
parent | a58839666f1b2e81f1d85d833bbd8fefaf70046b (diff) |
fix for another potential crash
Diffstat (limited to 'plugins/NewEventNotify/src/popup.cpp')
-rw-r--r-- | plugins/NewEventNotify/src/popup.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/NewEventNotify/src/popup.cpp b/plugins/NewEventNotify/src/popup.cpp index 870d0b0835..cfb40947b7 100644 --- a/plugins/NewEventNotify/src/popup.cpp +++ b/plugins/NewEventNotify/src/popup.cpp @@ -190,8 +190,7 @@ static wchar_t* GetEventPreview(DB::EventInfo &dbei) // filenames
comment2 = mir_wstrdup(blob.getName());
// description
- if (*blob.getDescr())
- comment1 = mir_wstrdup(blob.getDescr());
+ comment1 = mir_wstrdup(blob.getDescr());
}
commentFix = POPUP_COMMENT_FILE;
break;
|