Revert "OS (Linux): prioritize prettyName over name"

This reverts commit ecd69370ab.
This commit is contained in:
李通洲
2024-07-03 16:37:51 +08:00
parent b25ffda90b
commit 9df394bba3
+3 -3
View File
@@ -12,10 +12,10 @@
static void buildOutputDefault(const FFOSResult* os, FFstrbuf* result)
{
//Create the basic output
if(os->prettyName.length > 0)
ffStrbufAppend(result, &os->prettyName);
else if(os->name.length > 0)
if(os->name.length > 0)
ffStrbufAppend(result, &os->name);
else if(os->prettyName.length > 0)
ffStrbufAppend(result, &os->prettyName);
else if(os->id.length > 0)
ffStrbufAppend(result, &os->id);
else