aboutsummaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
Diffstat (limited to 'src/util')
-rw-r--r--src/util/string.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/util/string.cpp b/src/util/string.cpp
index 60ccc9300..6d1eda078 100644
--- a/src/util/string.cpp
+++ b/src/util/string.cpp
@@ -102,16 +102,6 @@ std::wstring utf8_to_wide(const std::string &input)
return out;
}
-#ifdef __ANDROID__
-
-// TODO: this is an ugly fix for wide_to_utf8 somehow not working on android
-std::string wide_to_utf8(const std::wstring &input)
-{
- return wide_to_narrow(input);
-}
-
-#else // __ANDROID__
-
std::string wide_to_utf8(const std::wstring &input)
{
size_t inbuf_size = (input.length() + 1) * sizeof(wchar_t);
@@ -138,8 +128,6 @@ std::string wide_to_utf8(const std::wstring &input)
return out;
}
-#endif // __ANDROID__
-
#else // _WIN32
std::wstring utf8_to_wide(const std::string &input)