Title: fix typo fdqn -> fqdn; support standard module args

This commit is contained in:
李通洲
2023-07-05 15:47:47 +08:00
parent 7bd9e1e750
commit 5e9f850fe1
4 changed files with 42 additions and 16 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ void ffPrintSeparator(FFSeparatorOptions* options)
if (titleLength == 0)
{
// Title was not printed, should we support this case?
titleLength = instance.state.platform.userName.length + 1 + (instance.config.title.fdqn ?
titleLength = instance.state.platform.userName.length + 1 + (instance.config.title.fqdn ?
instance.state.platform.domainName.length :
instance.state.platform.hostName.length
);