Global: overall optimization

This commit is contained in:
李通洲
2024-10-25 14:48:11 +08:00
parent 6dc6fd8b24
commit fd26373c8f
21 changed files with 126 additions and 131 deletions
+1 -1
View File
@@ -75,7 +75,7 @@ void ffPrintDisplay(FFDisplayOptions* options)
for(uint32_t i = 0; i < dsResult->displays.length; i++)
{
FFDisplayResult* result = ffListGet(&dsResult->displays, i);
FFDisplayResult* result = FF_LIST_GET(FFDisplayResult, dsResult->displays, i);
uint32_t moduleIndex = dsResult->displays.length == 1 ? 0 : i + 1;
const char* displayType = result->type == FF_DISPLAY_TYPE_UNKNOWN ? NULL : result->type == FF_DISPLAY_TYPE_BUILTIN ? "built-in" : "external";