summaryrefslogtreecommitdiff
path: root/plugins/HistoryStats/src/dlgoption_subglobal.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2016-12-22 18:58:01 +0300
committerGeorge Hazan <ghazan@miranda.im>2016-12-22 18:58:01 +0300
commit38517d7f3b0a1dd04ee111fa721d9f4ec4c3a104 (patch)
tree8d84c985e25f99383f133ae925bce0413b90b16d /plugins/HistoryStats/src/dlgoption_subglobal.cpp
parentdd9cf5468a032542f422f6301654d87b557c7cc4 (diff)
ughm
Diffstat (limited to 'plugins/HistoryStats/src/dlgoption_subglobal.cpp')
-rw-r--r--plugins/HistoryStats/src/dlgoption_subglobal.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/HistoryStats/src/dlgoption_subglobal.cpp b/plugins/HistoryStats/src/dlgoption_subglobal.cpp
index 51732bfa40..4727738845 100644
--- a/plugins/HistoryStats/src/dlgoption_subglobal.cpp
+++ b/plugins/HistoryStats/src/dlgoption_subglobal.cpp
@@ -33,8 +33,8 @@ INT_PTR CALLBACK DlgOption::SubGlobal::staticInfoProc(HWND hDlg, UINT msg, WPARA
if (!linkTexts.empty()) {
while (!linkTexts.empty() && nCurLink < _countof(LinkIDs)) {
- ext::string::size_type posTexts = linkTexts.rfind('|');
- ext::string::size_type posURLs = linkURLs.rfind('|');
+ size_t posTexts = linkTexts.rfind('|');
+ size_t posURLs = linkURLs.rfind('|');
if (posTexts == ext::string::npos || posURLs == ext::string::npos) {
posTexts = posURLs = -1;
@@ -246,7 +246,7 @@ void DlgOption::SubGlobal::onWMInitDialog()
{
m_hHideContactMenuProtos.push_back(m_Options.insertCheck(
m_hProtocols,
- Protocol::getDisplayName(protoList[i]->szModuleName).c_str(),
+ protoList[i]->tszAccountName,
0,
reinterpret_cast<INT_PTR>(protoList[i]->szModuleName)));
}