diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2021-08-06 21:59:14 +0300 |
---|---|---|
committer | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2021-08-06 22:08:26 +0300 |
commit | bb56486a170aacb355f4a973f0cd40ab3918a0cd (patch) | |
tree | 6455508e1f2398716b5b845613fd71ce84740be2 /src/util | |
parent | 77a90f03acd551bcc538f6728939cc2ed8c6a3c4 (diff) |
refactor: Reuse MakeUnorderedList where possible
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/system.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/system.cpp b/src/util/system.cpp index 258ba2f235..30d4103819 100644 --- a/src/util/system.cpp +++ b/src/util/system.cpp @@ -502,11 +502,11 @@ bool ArgsManager::InitSettings(std::string& error) std::vector<std::string> errors; if (!ReadSettingsFile(&errors)) { - error = strprintf("Failed loading settings file:\n- %s\n", Join(errors, "\n- ")); + error = strprintf("Failed loading settings file:\n%s\n", MakeUnorderedList(errors)); return false; } if (!WriteSettingsFile(&errors)) { - error = strprintf("Failed saving settings file:\n- %s\n", Join(errors, "\n- ")); + error = strprintf("Failed saving settings file:\n%s\n", MakeUnorderedList(errors)); return false; } return true; |