diff options
Diffstat (limited to 'swaynag/config.c')
-rw-r--r-- | swaynag/config.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/swaynag/config.c b/swaynag/config.c index 9aeec3c2..a0bf3197 100644 --- a/swaynag/config.c +++ b/swaynag/config.c | |||
@@ -227,7 +227,9 @@ int swaynag_parse_options(int argc, char **argv, struct swaynag *swaynag, | |||
227 | case 'f': // Font | 227 | case 'f': // Font |
228 | if (type) { | 228 | if (type) { |
229 | free(type->font); | 229 | free(type->font); |
230 | pango_font_description_free(type->font_description); | ||
230 | type->font = strdup(optarg); | 231 | type->font = strdup(optarg); |
232 | type->font_description = pango_font_description_from_string(type->font); | ||
231 | } | 233 | } |
232 | break; | 234 | break; |
233 | case 'l': // Detailed Message | 235 | case 'l': // Detailed Message |