diff options
author | George Hazan <ghazan@miranda.im> | 2017-02-27 14:10:24 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-02-27 14:28:50 +0300 |
commit | 11a50838009ec765f1d680fb55b264300ed6b797 (patch) | |
tree | d85360fac5f9e9cfedb3a311ca9ce93a16eaec18 /plugins/Scriver/src/msgs.cpp | |
parent | 5c002a15891fc4cdfaeda7247003e13db28fc5ca (diff) |
- name conflict resolution;
- code cleaning
Diffstat (limited to 'plugins/Scriver/src/msgs.cpp')
-rw-r--r-- | plugins/Scriver/src/msgs.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/plugins/Scriver/src/msgs.cpp b/plugins/Scriver/src/msgs.cpp index 5197599dce..579f63e7a0 100644 --- a/plugins/Scriver/src/msgs.cpp +++ b/plugins/Scriver/src/msgs.cpp @@ -318,22 +318,21 @@ static INT_PTR SetStatusText(WPARAM hContact, LPARAM lParam) return 1;
SESSION_INFO *si = (SESSION_INFO*)GetWindowLongPtr(hwnd, GWLP_USERDATA);
- if (si == NULL || si->parent == NULL)
+ if (si == NULL || si->m_pParent == NULL)
return 1;
- pdat = si->parent;
+ pdat = si->m_pParent;
}
else {
CSrmmWindow *dat = (CSrmmWindow*)GetWindowLongPtr(hwnd, GWLP_USERDATA);
- if (dat == NULL || dat->parent == NULL)
+ if (dat == NULL || dat->m_pParent == NULL)
return 1;
- pdat = dat->parent;
+ pdat = dat->m_pParent;
}
SendMessage(pdat->hwndStatus, SB_SETICON, 0, (LPARAM)(st == NULL ? 0 : st->hIcon));
SendMessage(pdat->hwndStatus, SB_SETTEXT, 0, (LPARAM)(st == NULL ? L"" : st->tszText));
-
return 0;
}
|