summaryrefslogtreecommitdiff
path: root/plugins/UserInfoEx/src/ctrl_combo.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-03-18 07:39:58 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-03-18 07:39:58 +0000
commit4774f691493bfaf06d36c18e902a02bf7c9b31f8 (patch)
treeff6a5d69866bebc114c5531aa5b282d4a1000965 /plugins/UserInfoEx/src/ctrl_combo.cpp
parent737c417d734627905ff41623b56ec311db17b27c (diff)
fix for crash in UInfoEx on empty combos
git-svn-id: http://svn.miranda-ng.org/main/trunk@4083 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/UserInfoEx/src/ctrl_combo.cpp')
-rw-r--r--plugins/UserInfoEx/src/ctrl_combo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/UserInfoEx/src/ctrl_combo.cpp b/plugins/UserInfoEx/src/ctrl_combo.cpp
index ba9fd4acea..fea79fe997 100644
--- a/plugins/UserInfoEx/src/ctrl_combo.cpp
+++ b/plugins/UserInfoEx/src/ctrl_combo.cpp
@@ -150,7 +150,7 @@ VOID CCombo::Release()
**/
BOOL CCombo::OnInfoChanged(HANDLE hContact, LPCSTR pszProto)
{
- if (!_Flags.B.hasChanged)
+ if (!_Flags.B.hasChanged && _pList != NULL)
{
DBVARIANT dbv;
LPIDSTRLIST pItem = NULL;