Logo: use -l '?' to show a question mark as logo

This commit is contained in:
李通洲 committed 2024-06-04 10:18:07 +08:00
1 parent add3047d1a
commit 2557b0033d
1 file changed
+1 -1
+1 -1
View File
@@ -335,7 +335,7 @@ static bool logoPrintBuiltinIfExists(const FFstrbuf* name, FFLogoSize size)
return true;
}
const FFlogo* logo = logoGetBuiltin(name, size);
const FFlogo* logo = ffStrbufEqualS(name, "?") ? &ffLogoUnknown : logoGetBuiltin(name, size);
if(logo == NULL)
return false;