mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-11-13 06:50:54 +01:00
print logo in ffPrintAndSaveCachedValue
This commit is contained in:
1 parent
2004544528
commit
071b2c6727
8 files changed
+2
-15
No files matched your search
+1
-3
@@ -11,8 +11,6 @@ static void handleGPU(FFinstance* instance, struct pci_access* pacc, struct pci_
|
||||
if(ffPrintCachedValue(instance, key))
|
||||
return;
|
||||
|
||||
FF_STRBUF_CREATE(gpu);
|
||||
|
||||
char vendor[512];
|
||||
ffpci_lookup_name(pacc, vendor, sizeof(vendor), PCI_LOOKUP_VENDOR, dev->vendor_id, dev->device_id);
|
||||
|
||||
@@ -25,7 +23,7 @@ static void handleGPU(FFinstance* instance, struct pci_access* pacc, struct pci_
|
||||
char name[512];
|
||||
ffpci_lookup_name(pacc, name, sizeof(name), PCI_LOOKUP_DEVICE, dev->vendor_id, dev->device_id);
|
||||
|
||||
ffPrintLogoAndKey(instance, "GPU");
|
||||
FF_STRBUF_CREATE(gpu);
|
||||
|
||||
if(ffStrbufIsEmpty(&instance->config.gpuFormat))
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user