diff options
Diffstat (limited to 'plugins/QuickSearch/src/options.cpp')
-rw-r--r-- | plugins/QuickSearch/src/options.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/QuickSearch/src/options.cpp b/plugins/QuickSearch/src/options.cpp index eb9ad28ec4..e2d42a6061 100644 --- a/plugins/QuickSearch/src/options.cpp +++ b/plugins/QuickSearch/src/options.cpp @@ -263,7 +263,8 @@ public: cmbOther.SetCurSel(0); for (int i = CNF_FIRSTNAME; i < CNF_MAX; i++) - cmbCnfType.AddString(cnf2str(i), i); + if (auto *pwszText = cnf2str(i)) + cmbCnfType.AddString(pwszText, i); cmbCnfType.SetCurSel(0); chkDrawGrid.SetState((g_plugin.m_flags & QSO_DRAWGRID) != 0); |