Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/core/StarDirectives.cpp
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2023-06-26 01:51:57 +1000
committerKae <80987908+Novaenia@users.noreply.github.com>2023-06-26 01:51:57 +1000
commit500e81329a411b3a6df6e300beab68418dc00658 (patch)
tree3f4fcb7601f1597a9562b4986a2f1d654e8d1c36 /source/core/StarDirectives.cpp
parent09d26d43b5262f480fd55eab9980eff06a71edbb (diff)
Fix minor issues
Diffstat (limited to 'source/core/StarDirectives.cpp')
-rw-r--r--source/core/StarDirectives.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/core/StarDirectives.cpp b/source/core/StarDirectives.cpp
index fd4ee46..7149f70 100644
--- a/source/core/StarDirectives.cpp
+++ b/source/core/StarDirectives.cpp
@@ -25,8 +25,8 @@ Directives::Entry::Entry(Entry const& other) {
}
StringView Directives::Entry::string(Shared const& parent) const {
- StringView result(parent.string);
- result = result.substr(begin, length);
+ StringView result = parent.string;
+ result = result.utf8().substr(begin, length);
return result;
}