mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-10-30 00:37:23 +01:00
Small fix to muffin theme detection
This commit is contained in:
@@ -104,11 +104,13 @@ static bool detectMuffin(FFinstance* instance, FFstrbuf* themeOrError)
|
||||
ffStrbufAppendS(themeOrError, theme);
|
||||
return true;
|
||||
}
|
||||
|
||||
if(theme == NULL)
|
||||
{
|
||||
ffStrbufAppendS(themeOrError, theme);
|
||||
ffStrbufAppendS(themeOrError, name);
|
||||
return true;
|
||||
}
|
||||
|
||||
ffStrbufAppendF(themeOrError, "%s (%s)", name, theme);
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user