mirror of
https://github.com/irssi/irssi.git
synced 2026-08-22 01:52:19 +02:00
xdg-suport: fix clang
This commit is contained in:
parent
0ffa65348d
commit
a0b770e70e
1 changed files with 1 additions and 1 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue