diff options
author | dec05eba <dec05eba@protonmail.com> | 2018-10-02 21:14:45 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-07-06 07:39:33 +0200 |
commit | d22001283a49ad723da0023039c904dc6db7c5a0 (patch) | |
tree | 4ec8b61a33b57ad2ccec5cc1309ea1f927620ef2 /src/FileUtil.cpp | |
parent | 7a483ac5f0e483dd9dff2a22ee4f0480ab75f039 (diff) |
Fix bundle for non system libraries
Diffstat (limited to 'src/FileUtil.cpp')
-rw-r--r-- | src/FileUtil.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/FileUtil.cpp b/src/FileUtil.cpp index f52dd1f..498f638 100644 --- a/src/FileUtil.cpp +++ b/src/FileUtil.cpp @@ -52,7 +52,7 @@ namespace sibs FileString toFileString(const StringView &utf8Str) { - return FileString(utf8Str.data, utf8Str.size); + return FileString(utf8Str.data, utf8Str.data + utf8Str.size); } #else std::string toUtf8(const sibs::FileString &input) |