summaryrefslogtreecommitdiff
path: root/protocols/Twitter/src/StringUtil.h
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Twitter/src/StringUtil.h')
-rw-r--r--protocols/Twitter/src/StringUtil.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Twitter/src/StringUtil.h b/protocols/Twitter/src/StringUtil.h
index f1ebdb55e1..51a13123e8 100644
--- a/protocols/Twitter/src/StringUtil.h
+++ b/protocols/Twitter/src/StringUtil.h
@@ -44,7 +44,7 @@ inline std::wstring UTF8ToWide(const std::string& str)
inline bool Compare(const wstring& one, const wstring& two, bool caseSensitive)
{
- return caseSensitive ? (one == two) : (mir_tstrcmpi(one.c_str(), two.c_str()) == 0);
+ return caseSensitive ? (one == two) : (mir_wstrcmpi(one.c_str(), two.c_str()) == 0);
}
#endif//_STRINGUTIL_H_INCLUDED_