Small fix to muffin theme detection

This commit is contained in:
Linus Dierheimer
2023-02-01 10:43:24 +01:00
parent a37115cb00
commit 7ee4a648d0
+3 -1
View File
@@ -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;
}