Bugfix: Only fallback on the font if it’s actually set (Thanks phnom)
This commit is contained in:
parent
ee804a0635
commit
af1871e414
|
@ -1002,7 +1002,7 @@ bar:
|
|||
}
|
||||
|
||||
/* If no font was explicitly set, we use the i3 font as default */
|
||||
if (!current_bar.font)
|
||||
if (!current_bar.font && font_pattern)
|
||||
current_bar.font = sstrdup(font_pattern);
|
||||
|
||||
/* Copy the current (static) structure into a dynamically allocated
|
||||
|
|
Loading…
Reference in New Issue