We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eae6904 commit c3ce5acCopy full SHA for c3ce5ac
1 file changed
src/logo/logo.c
@@ -436,6 +436,13 @@ static void logoPrintNone(void)
436
437
static bool logoPrintBuiltinIfExists(const FFstrbuf* name, FFLogoSize size)
438
{
439
+ if(name->chars[0] == '~' || name->chars[0] == '.' || name->chars[0] == '/'
440
+ #if _WIN32
441
+ || (ffCharIsEnglishAlphabet(name->chars[0]) && name->chars[1] == ':') // Windows drive letter
442
+ #endif
443
+ )
444
+ return false; // Paths
445
+
446
if(ffStrbufIgnCaseEqualS(name, "none"))
447
448
logoPrintNone();
0 commit comments