summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-06-11 20:09:03 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-06-11 20:09:03 +0000
commitbbd8d01ee5bbf5c27d7fe5044a8d51a624e480ae (patch)
tree6a47a2ac754726720e10b2510f4befc8a1daff1f /plugins
parenta0cef1d43a718ea27333293280347a19a914c9a3 (diff)
- typo fix;
git-svn-id: http://svn.miranda-ng.org/main/trunk@14124 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins')
-rw-r--r--plugins/ChangeKeyboardLayout/src/hook_events.cpp2
-rw-r--r--plugins/Sessions/Src/Utils.cpp2
-rw-r--r--plugins/TabSRMM/src/contactcache.cpp4
3 files changed, 4 insertions, 4 deletions
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);
}