xdg-suport: fix clang

This commit is contained in:
altffour 2021-01-25 09:35:54 +03:00
commit a0b770e70e
No known key found for this signature in database
GPG key ID: 976939521A14589F

View file

@ -922,7 +922,7 @@ THEME_REC *theme_load(const char *setname)
struct stat statbuf;
char *fname, *fbname, *name, *p;
name = g_strdup(setname);
name = g_strdup(setname);
p = strrchr(name, '.');
if (p != NULL && g_strcmp0(p, ".theme") == 0) {
/* remove the trailing .theme */