summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2021-11-14 22:09:38 +0300
committerGeorge Hazan <ghazan@miranda.im>2021-11-14 22:09:38 +0300
commit70965c0f3ff0d7e7643fcbfbeea35c305f7c3f39 (patch)
tree6da97d6deb936e6f32985ce6a2f835b12ec48ea6
parentd27df9286f2f8b6df5713c756244c83f2585f53e (diff)
typo fix
-rw-r--r--include/m_string.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/m_string.h b/include/m_string.h
index ba00c41b7a..c53f96fbe1 100644
--- a/include/m_string.h
+++ b/include/m_string.h
@@ -662,7 +662,7 @@ public:
static wchar_t* MIR_SYSCALL StringFindString(wchar_t *pszBlock, const wchar_t *pszMatch)
{
- return const_cast<wchar_t*>(StringFindString(const_cast<wchar_t*>(pszBlock), pszMatch));
+ return const_cast<wchar_t*>(wcsstr(pszBlock, pszMatch));
}
static const wchar_t* MIR_SYSCALL StringFindChar(const wchar_t *pszBlock, wchar_t chMatch)