Isolate a few more string leakage cases.
This commit is contained in:
@ -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()) {
|
||||
|
Reference in New Issue
Block a user