summaryrefslogtreecommitdiff
path: root/src/core/stdfile
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/stdfile')
-rw-r--r--src/core/stdfile/src/filerecvdlg.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/stdfile/src/filerecvdlg.cpp b/src/core/stdfile/src/filerecvdlg.cpp
index 099f419fcb..34d5251985 100644
--- a/src/core/stdfile/src/filerecvdlg.cpp
+++ b/src/core/stdfile/src/filerecvdlg.cpp
@@ -251,7 +251,8 @@ public:
DB::FILE_BLOB blob(dbei);
SetDlgItemText(m_hwnd, IDC_FILENAMES, blob.getName());
- SetDlgItemText(m_hwnd, IDC_MSG, blob.getDescr());
+ if (mir_wstrlen(blob.getDescr()))
+ SetDlgItemText(m_hwnd, IDC_MSG, blob.getDescr());
wchar_t datetimestr[64];
TimeZone_PrintTimeStamp(NULL, dbei.timestamp, L"t d", datetimestr, _countof(datetimestr), 0);