From c18fc20f4cc50da0602988a8332896f3b380641c Mon Sep 17 00:00:00 2001 From: okan Date: Thu, 23 Jan 2014 17:13:38 +0000 Subject: no need to quote within warning --- conf.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'conf.c') diff --git a/conf.c b/conf.c index b38f2c4..9f05d9e 100644 --- a/conf.c +++ b/conf.c @@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: conf.c,v 1.161 2014/01/22 21:48:27 okan Exp $ + * $OpenBSD: conf.c,v 1.162 2014/01/23 17:13:38 okan Exp $ */ #include @@ -120,7 +120,7 @@ conf_screen(struct screen_ctx *sc) xu_xorcolor(sc->xftcolor[CWM_COLOR_MENU_FONT], xc, &xc); if (!XftColorAllocValue(X_Dpy, sc->visual, sc->colormap, &xc.color, &sc->xftcolor[CWM_COLOR_MENU_FONT_SEL])) - warnx("XftColorAllocValue: '%s'", Conf.color[i]); + warnx("XftColorAllocValue: %s", Conf.color[i]); break; } if (XftColorAllocName(X_Dpy, sc->visual, sc->colormap, @@ -128,7 +128,7 @@ conf_screen(struct screen_ctx *sc) sc->xftcolor[i] = xc; XftColorFree(X_Dpy, sc->visual, sc->colormap, &xc); } else { - warnx("XftColorAllocName: '%s'", Conf.color[i]); + warnx("XftColorAllocName: %s", Conf.color[i]); XftColorAllocName(X_Dpy, sc->visual, sc->colormap, color_binds[i], &sc->xftcolor[i]); } -- cgit v1.2.3-2-gb3c3