Isolate a few more string leakage cases.

This commit is contained in:
2025-09-27 18:18:36 -04:00
parent c8cfc0f038
commit 8356c017e1
4 changed files with 34 additions and 9 deletions

View File

@ -1069,7 +1069,7 @@ void StyleEngine::init () {
void StyleEngine::buildUserStyle () {
using namespace std::literals::string_literals;
std::string filename = dGethomedir() + "/.flenser/style.css"s;
std::string filename = dGethomedir_string().value() + "/.flenser/style.css"s;
const std::string style= a_Misc_file2dstr(filename.c_str());
if (not style.empty()) {