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

summaryrefslogtreecommitdiff
path: root/source/base/StarAssets.cpp
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2023-07-01 14:01:27 +1000
committerKae <80987908+Novaenia@users.noreply.github.com>2023-07-01 14:01:27 +1000
commite29a46d100164bdd2747278fa9336f889721b16b (patch)
tree41867241e3982d1dcdd874ae7af3f92f161d0014 /source/base/StarAssets.cpp
parente28394b10be26cbf2ce0036e6325af2ff637d1e4 (diff)
Fix text wrapping splitting inside of words with color codes in them
Diffstat (limited to 'source/base/StarAssets.cpp')
-rw-r--r--source/base/StarAssets.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/base/StarAssets.cpp b/source/base/StarAssets.cpp
index ce80136..0eb5725 100644
--- a/source/base/StarAssets.cpp
+++ b/source/base/StarAssets.cpp
@@ -242,7 +242,7 @@ ImageConstPtr Assets::image(AssetPath const& path) const {
void Assets::queueImages(StringList const& paths) const {
queueAssets(paths.transformed([](String const& path) {
- const auto components = AssetPath::split(path);
+ auto components = AssetPath::split(path);
validatePath(components, true, true);
return AssetId{AssetType::Image, move(components)};