mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-11-02 03:14:15 +01:00
Host: clean up
This commit is contained in:
@@ -39,10 +39,8 @@ void ffPrintHost(FFHostOptions* options)
|
||||
else
|
||||
ffStrbufAppend(&output, &host.productFamily);
|
||||
|
||||
if(host.productVersion.length > 0 && !ffStrbufIgnCaseEqualS(&host.productVersion, "none"))
|
||||
{
|
||||
if(host.productVersion.length > 0)
|
||||
ffStrbufAppendF(&output, " (%s)", host.productVersion.chars);
|
||||
}
|
||||
|
||||
ffStrbufPutTo(&output, stdout);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user