summaryrefslogtreecommitdiff
path: root/plugins/NewEventNotify/src
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/NewEventNotify/src')
-rw-r--r--plugins/NewEventNotify/src/popup.cpp3
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;