mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-11-12 22:40:54 +01:00
Small fix to muffin theme detection
This commit is contained in:
1 file changed
+3
-1
@@ -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