mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-11-08 06:00:08 +01:00
all keys can now be set!
This commit is contained in:
+2
-2
@@ -2,7 +2,7 @@
|
||||
|
||||
void ffPrintOS(FFinstance* instance)
|
||||
{
|
||||
if(ffPrintCachedValue(instance, "OS"))
|
||||
if(ffPrintCachedValue(instance, &instance->config.osKey, "OS"))
|
||||
return;
|
||||
|
||||
// Documentation of the fields:
|
||||
@@ -124,6 +124,6 @@ void ffPrintOS(FFinstance* instance)
|
||||
);
|
||||
}
|
||||
|
||||
ffPrintAndSaveCachedValue(instance, "OS", &os);
|
||||
ffPrintAndSaveCachedValue(instance, &instance->config.osKey, "OS", &os);
|
||||
ffStrbufDestroy(&os);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user