summaryrefslogtreecommitdiff
path: root/src/mir_app
diff options
context:
space:
mode:
Diffstat (limited to 'src/mir_app')
-rw-r--r--src/mir_app/src/db_events.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mir_app/src/db_events.cpp b/src/mir_app/src/db_events.cpp
index 6f6fc281be..263706d844 100644
--- a/src/mir_app/src/db_events.cpp
+++ b/src/mir_app/src/db_events.cpp
@@ -165,7 +165,7 @@ static INT_PTR DbEventGetTextWorker(DB::EventInfo *dbei, int codepage, int datat
DB::FILE_BLOB blob(*dbei);
CMStringW wszText(blob.getName());
- if (mir_wstrlen(blob.getDescr()) > 0) {
+ if (mir_wstrlen(blob.getDescr())) {
wszText.Append(L": ");
wszText.Append(blob.getDescr());
}