summaryrefslogtreecommitdiff
path: root/plugins/QuickSearch
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2021-05-28 19:38:40 +0300
committerGeorge Hazan <ghazan@miranda.im>2021-05-28 19:38:40 +0300
commitf5d140fac345ff199685e9d6a7fce3e16264580c (patch)
tree2c65784a958bac1946dd4f01d219fb9ff66a7289 /plugins/QuickSearch
parent211e1869f026d7180c8d7cdbcd7618f3ff00462d (diff)
fixes #2892 (Quick Search: пустой столбец Gender)
Diffstat (limited to 'plugins/QuickSearch')
-rw-r--r--plugins/QuickSearch/src/window_row.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/QuickSearch/src/window_row.cpp b/plugins/QuickSearch/src/window_row.cpp
index 16427be551..c86148dff0 100644
--- a/plugins/QuickSearch/src/window_row.cpp
+++ b/plugins/QuickSearch/src/window_row.cpp
@@ -132,6 +132,8 @@ void CRowItem::Val::LoadOneItem(MCONTACT hContact, const ColumnItem &pCol, QSMai
case QST_CONTACTINFO:
text = Contact_GetInfo(pCol.cnftype, hContact);
+ if (text)
+ data = _wtoi(text);
break;
case QST_OTHER: