mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-09-13 10:52:08 +02:00
JsonConfig: don't disable --show-errors when setting --stat false
This commit is contained in:
@@ -302,8 +302,8 @@ const char* ffParseGeneralJsonConfig(void)
|
||||
config->multithreading = yyjson_get_bool(val);
|
||||
else if (ffStrEqualsIgnCase(key, "stat"))
|
||||
{
|
||||
config->stat = yyjson_get_bool(val);
|
||||
config->showErrors= config->stat;
|
||||
if ((config->stat = yyjson_get_bool(val)))
|
||||
config->showErrors = true;
|
||||
}
|
||||
else if (ffStrEqualsIgnCase(key, "escapeBedrock"))
|
||||
config->escapeBedrock = yyjson_get_bool(val);
|
||||
|
||||
Reference in New Issue
Block a user