From 70965c0f3ff0d7e7643fcbfbeea35c305f7c3f39 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 14 Nov 2021 22:09:38 +0300 Subject: typo fix --- include/m_string.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(StringFindString(const_cast(pszBlock), pszMatch)); + return const_cast(wcsstr(pszBlock, pszMatch)); } static const wchar_t* MIR_SYSCALL StringFindChar(const wchar_t *pszBlock, wchar_t chMatch) -- cgit v1.2.3