summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern/modern_clui.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-07-08 10:40:33 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-07-08 10:40:33 +0000
commite8c9fd3c802c8c2b9aa47381b1dc54c03c65b595 (patch)
treeb06a843f7fc4ff65d7004e750ef846f06f2a1f33 /plugins/Clist_modern/modern_clui.cpp
parentceb7bbea580d9153668d9113b6cbb24f23e49ebe (diff)
structure copying replaced with the inheritance
git-svn-id: http://svn.miranda-ng.org/main/trunk@842 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_modern/modern_clui.cpp')
-rw-r--r--plugins/Clist_modern/modern_clui.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Clist_modern/modern_clui.cpp b/plugins/Clist_modern/modern_clui.cpp
index 4bc4bb922c..d6c7cf9623 100644
--- a/plugins/Clist_modern/modern_clui.cpp
+++ b/plugins/Clist_modern/modern_clui.cpp
@@ -2857,9 +2857,9 @@ LRESULT CLUI::OnClickNotify( NMCLISTCONTROL * pnmc )
}
};
if (pnmc->iColumn == w) {
- char *homepage = db_get_sa(pdnce->m_cache_hContact,"UserInfo", "Homepage");
+ char *homepage = db_get_sa(pdnce->hContact,"UserInfo", "Homepage");
if ( !homepage)
- homepage = db_get_sa(pdnce->m_cache_hContact,pdnce->m_cache_cszProto, "Homepage");
+ homepage = db_get_sa(pdnce->hContact,pdnce->m_cache_cszProto, "Homepage");
if (homepage != NULL)
{
CallService(MS_UTILS_OPENURL, 1, (LPARAM)homepage);