summaryrefslogtreecommitdiff
path: root/include/m_string.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/m_string.h')
-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)