mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-11-06 13:14:21 +01:00
removed ffStrbufIsEmpty
This commit is contained in:
+1
-1
@@ -21,7 +21,7 @@ void ffPrintDisk(FFinstance* instance)
|
||||
|
||||
ffPrintLogoAndKey(instance, "Disk (/)");
|
||||
|
||||
if(ffStrbufIsEmpty(&instance->config.diskFormat))
|
||||
if(instance->config.diskFormat.length == 0)
|
||||
{
|
||||
printf("%uGB / %uGB (%u%%)\n", used, total, percentage);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user