mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-10-30 17:41:41 +01:00
removed ffStrbufIsEmpty
This commit is contained in:
@@ -32,7 +32,7 @@ void ffPrintMemory(FFinstance* instance)
|
||||
|
||||
ffPrintLogoAndKey(instance, "Memory");
|
||||
|
||||
if(ffStrbufIsEmpty(&instance->config.memoryFormat))
|
||||
if(instance->config.memoryFormat.length == 0)
|
||||
{
|
||||
printf("%uMiB / %uMiB (%u%%)\n", used_mem, total_mem, percentage);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user