mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-10-31 10:02:49 +01:00
removed ffStrbufIsEmpty
This commit is contained in:
+1
-1
@@ -35,7 +35,7 @@ void ffPrintCPU(FFinstance* instance)
|
||||
|
||||
FF_STRBUF_CREATE(cpu);
|
||||
|
||||
if(ffStrbufIsEmpty(&instance->config.cpuFormat))
|
||||
if(instance->config.cpuFormat.length == 0)
|
||||
{
|
||||
ffStrbufSetF(&cpu, "%s (%i) @ %.9gGHz", name, numProcs, ghz);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user