diff options
| -rw-r--r-- | plugins/TabSRMM/src/msgdlgother.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/TabSRMM/src/msgdlgother.cpp b/plugins/TabSRMM/src/msgdlgother.cpp index db968ba08e..caf4c15242 100644 --- a/plugins/TabSRMM/src/msgdlgother.cpp +++ b/plugins/TabSRMM/src/msgdlgother.cpp @@ -766,6 +766,9 @@ static wchar_t* Trunc500(wchar_t *str) bool CMsgDialog::FormatTitleBar(const wchar_t *szFormat, CMStringW &dest)
{
+ if (m_cache == nullptr)
+ return false;
+
for (const wchar_t *src = szFormat; *src; src++) {
if (*src != '%') {
dest.AppendChar(*src);
|
