mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-11-13 06:50:54 +01:00
Fix --logo option when using not existent file
This commit is contained in:
1 parent
aaa6f32f15
commit
7f846dadaf
2 files changed
+19
-1
No files matched your search
+1
-1
@@ -852,7 +852,7 @@ void ffLoadLogoSet(FFinstance* instance, const char* logo)
|
||||
ffStrbufDestroy(&logoChars);
|
||||
if(instance->config.showErrors)
|
||||
printf(FASTFETCH_TEXT_MODIFIER_ERROR"Error: unknown logo / logo file not found: %s"FASTFETCH_TEXT_MODIFIER_RESET"\n", logo);
|
||||
instance->config.logo = getLogoUnknown();
|
||||
setLogo(instance, getLogoUnknown());
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user