From bbd8d01ee5bbf5c27d7fe5044a8d51a624e480ae Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 11 Jun 2015 20:09:03 +0000 Subject: - typo fix; git-svn-id: http://svn.miranda-ng.org/main/trunk@14124 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/ChangeKeyboardLayout/src/hook_events.cpp | 2 +- plugins/Sessions/Src/Utils.cpp | 2 +- plugins/TabSRMM/src/contactcache.cpp | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins') diff --git a/plugins/ChangeKeyboardLayout/src/hook_events.cpp b/plugins/ChangeKeyboardLayout/src/hook_events.cpp index 7471d02e78..dbb57e0ad3 100644 --- a/plugins/ChangeKeyboardLayout/src/hook_events.cpp +++ b/plugins/ChangeKeyboardLayout/src/hook_events.cpp @@ -107,7 +107,7 @@ int ModulesLoaded(WPARAM wParam, LPARAM lParam) else if (!mir_tstrcmp(tszValue, ptszEmptySting)) ptszLayStrings[i] = ptszCurrLayout; else { - ptszLayStrings[i] = tszValue.detouch(); + ptszLayStrings[i] = tszValue.detach(); if (!mir_tstrcmp(ptszCurrLayout, ptszLayStrings[i])) db_unset(NULL, ModuleName, ptszTemp); mir_free(ptszCurrLayout); diff --git a/plugins/Sessions/Src/Utils.cpp b/plugins/Sessions/Src/Utils.cpp index 9b15bfe40e..a5eab0ebb8 100644 --- a/plugins/Sessions/Src/Utils.cpp +++ b/plugins/Sessions/Src/Utils.cpp @@ -47,7 +47,7 @@ void AddSessionMark(MCONTACT hContact, int mode, char bit) memset(pszBuffer, 0, (g_ses_count + 1)); mir_strcpy(pszBuffer, szValue); } - else pszBuffer = szValue.detouch(); + else pszBuffer = szValue.detach(); char temp_1 = pszBuffer[0]; for (size_t i = 0; i < g_ses_count; i++) { diff --git a/plugins/TabSRMM/src/contactcache.cpp b/plugins/TabSRMM/src/contactcache.cpp index 268826c11c..3a38cdaef3 100644 --- a/plugins/TabSRMM/src/contactcache.cpp +++ b/plugins/TabSRMM/src/contactcache.cpp @@ -471,7 +471,7 @@ void CContactCache::updateStatusMsg(const char *szKey) m_ListeningInfo = 0; ptrT szListeningTo(db_get_tsa(hContact, cc->szProto, "ListeningTo")); if (szListeningTo != 0 && *szListeningTo) - m_ListeningInfo = szListeningTo.detouch(); + m_ListeningInfo = szListeningTo.detach(); } if (szKey == 0 || (szKey && !mir_strcmp("XStatusMsg", szKey))) { if (m_xStatusMsg) @@ -479,7 +479,7 @@ void CContactCache::updateStatusMsg(const char *szKey) m_xStatusMsg = 0; ptrT szXStatusMsg(db_get_tsa(hContact, cc->szProto, "XStatusMsg")); if (szXStatusMsg != 0 && *szXStatusMsg) - m_xStatusMsg = szXStatusMsg.detouch(); + m_xStatusMsg = szXStatusMsg.detach(); } m_xStatus = db_get_b(hContact, cc->szProto, "XStatusId", 0); } -- cgit v1.2.3