Logo: load .raw files as raw image file

This commit is contained in:
李通洲 committed 2025-07-13 20:32:31 +08:00
1 parent fb8a04f97a
commit 97255f37da
1 file changed
+6
+6
View File
@@ -651,6 +651,12 @@ void ffLogoPrint(void)
//Make sure the logo path is set correctly.
updateLogoPath();
if (ffStrbufEndsWithIgnCaseS(&options->source, ".raw"))
{
if(logoPrintFileIfExists(false, true))
return;
}
if (!ffStrbufEndsWithIgnCaseS(&options->source, ".txt"))
{
const FFTerminalResult* terminal = ffDetectTerminal();