mirror of
https://github.com/vale981/spectrwm
synced 2025-03-05 09:51:38 -05:00
fix segmentation fault in font creation
This commit is contained in:
parent
ea3e6da622
commit
cd44d668d6
1 changed files with 7 additions and 5 deletions
12
spectrwm.c
12
spectrwm.c
|
@ -2927,11 +2927,13 @@ fontset_init(void)
|
|||
|
||||
XFreeStringList(missing_charsets);
|
||||
|
||||
if (strcmp(default_string, ""))
|
||||
warnx("Glyphs from those sets will be replaced "
|
||||
"by '%s'.", default_string);
|
||||
else
|
||||
warnx("Glyphs from those sets won't be drawn.");
|
||||
if(bar_fs && default_string) {
|
||||
if (strcmp(default_string, ""))
|
||||
warnx("Glyphs from those sets will be replaced "
|
||||
"by '%s'.", default_string);
|
||||
else
|
||||
warnx("Glyphs from those sets won't be drawn.");
|
||||
}
|
||||
}
|
||||
|
||||
if (bar_fs == NULL)
|
||||
|
|
Loading…
Add table
Reference in a new issue