aboutsummaryrefslogtreecommitdiff
path: root/games/openmw/files/patch-components_to__utf8_to__utf8.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'games/openmw/files/patch-components_to__utf8_to__utf8.hpp')
-rw-r--r--games/openmw/files/patch-components_to__utf8_to__utf8.hpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/games/openmw/files/patch-components_to__utf8_to__utf8.hpp b/games/openmw/files/patch-components_to__utf8_to__utf8.hpp
new file mode 100644
index 000000000000..e5921c5604cf
--- /dev/null
+++ b/games/openmw/files/patch-components_to__utf8_to__utf8.hpp
@@ -0,0 +1,11 @@
+--- components/to_utf8/to_utf8.hpp.orig 2023-08-08 09:23:20 UTC
++++ components/to_utf8/to_utf8.hpp
+@@ -46,7 +46,7 @@ namespace ToUTF8
+ inline std::pair<std::size_t, bool> getLengthLegacyEnc(std::string_view input) const;
+ inline void copyFromArrayLegacyEnc(std::string_view::iterator& chp, std::string_view::iterator end, char* &out) const;
+
+- const std::basic_string_view<signed char> mTranslationArray;
++ const signed char* mTranslationArray;
+ };
+
+ class Utf8Encoder