From 1931c8e6d7edc3ce4a7e48cab22ca7cb33396de6 Mon Sep 17 00:00:00 2001 From: David Hill Date: Thu, 19 Jul 2012 14:26:56 -0400 Subject: [PATCH] spaces no longer allowed in separating fonts. use only , instead. Makes use able to use fonts with spaces in their names. --- spectrwm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 1.7.10.4