mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-11-08 14:10:11 +01:00
using strbuf for loading/saving cached values
This commit is contained in:
+1
-1
@@ -39,7 +39,7 @@ static void handleGPU(FFinstance* instance, struct pci_access* pacc, struct pci_
|
||||
);
|
||||
}
|
||||
|
||||
ffPrintAndSaveCachedValue(instance, key, gpu.chars);
|
||||
ffPrintAndSaveCachedValue(instance, key, &gpu);
|
||||
ffStrbufDestroy(&gpu);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user