From: David Hill Date: Thu, 19 Jul 2012 18:26:56 +0000 (-0400) Subject: spaces no longer allowed in separating fonts. use only , instead. X-Git-Url: https://jasonwoof.com/gitweb/?a=commitdiff_plain;ds=sidebyside;h=1931c8e6d7edc3ce4a7e48cab22ca7cb33396de6;p=spectrwm.git spaces no longer allowed in separating fonts. use only , instead. Makes use able to use fonts with spaces in their names. --- diff --git a/spectrwm.c b/spectrwm.c index 22e0f06..4ec1967 100644 --- a/spectrwm.c +++ b/spectrwm.c @@ -1878,7 +1878,7 @@ bar_setup(struct swm_region *r) err(1, "bar_setup: calloc: failed to allocate memory."); if (bar_font == NULL) { - while ((font = strsep(&bar_fonts, " ,")) != NULL) { + while ((font = strsep(&bar_fonts, ",")) != NULL) { if (*font == '\0') continue;