[dwm] [PATCH] fprintf where fputs is sufficiant

From: Enno \ <gottox_AT_gmail.com>
Date: Sat, 14 Feb 2009 12:37:48 +0100

I think fprintf is unneeded here.

Have fun!

diff -r 85a8eff4c123 dwm.c
--- a/dwm.c Thu Feb 12 17:26:12 2009 +0100
+++ b/dwm.c Sat Feb 14 12:34:51 2009 +0100
@@ -1713,7 +1713,7 @@
                die("usage: dwm [-v]\n");

        if(!setlocale(LC_CTYPE, "") || !XSupportsLocale())
- fprintf(stderr, "warning: no locale support\n");
+ fputs("warning: no locale support\n", stderr);

        if(!(dpy = XOpenDisplay(0)))
                die("dwm: cannot open display\n");

-- 
http://www.gnuffy.org - Real Community Distro
http://www.gnuffy.org/index.php/GnuEm - Gnuffy on Ipaq (Codename Peggy)
Received on Sat Feb 14 2009 - 11:37:48 UTC

This archive was generated by hypermail 2.2.0 : Sat Feb 14 2009 - 11:48:09 UTC