mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-10-29 16:26:39 +01:00
Host: don't print None as product version
This commit is contained in:
+1
-1
@@ -33,7 +33,7 @@ void ffPrintHost(FFinstance* instance)
|
||||
else
|
||||
ffStrbufAppend(&output, &host->productFamily);
|
||||
|
||||
if(host->productVersion.length > 0)
|
||||
if(host->productVersion.length > 0 && !ffStrbufIgnCaseEqualS(&host->productVersion, "none"))
|
||||
{
|
||||
ffStrbufAppendF(&output, " (%s)", host->productVersion.chars);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user