mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-11-06 13:14:21 +01:00
using strbuf for loading/saving cached values
This commit is contained in:
+1
-1
@@ -43,6 +43,6 @@ void ffPrintShell(FFinstance* instance)
|
||||
ffStrbufSetS(&shell, shellName);
|
||||
}
|
||||
|
||||
ffPrintAndSaveCachedValue(instance, "Shell", shell.chars);
|
||||
ffPrintAndSaveCachedValue(instance, "Shell", &shell);
|
||||
ffStrbufDestroy(&shell);
|
||||
}
|
||||
Reference in New Issue
Block a user