Percentage: simplify usage of ffAppendPercentBar

This commit is contained in:
李通洲
2024-01-20 13:27:55 +08:00
parent bd71aa931f
commit da5c44b3d0
8 changed files with 41 additions and 44 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ void ffPrintMemory(FFMemoryOptions* options)
if(instance.config.display.percentType & FF_PERCENTAGE_TYPE_BAR_BIT)
{
ffAppendPercentBar(&str, percentage, 0, 50, 80);
ffAppendPercentBar(&str, percentage, 50, 80);
ffStrbufAppendC(&str, ' ');
}