[hackers] [surf] A typo in SETPROP macro: should be ``printf %b'', not ``printf''. || Alexander Sedov

From: <git_AT_suckless.org>
Date: Sat, 30 Mar 2013 06:51:48 +0100

commit e0e4a844f76311f4bfed542d34459dcfc68f9ddf
Author: Alexander Sedov <alex0player_AT_gmail.com>
Date: Sat Mar 30 00:31:23 2013 +0400

    A typo in SETPROP macro: should be ``printf %b'', not ``printf''.
    
    Signed-off-by: Christoph Lohmann <20h_AT_r-36.net>

diff --git a/config.def.h b/config.def.h
index 3ddfaf8..ed8fbbe 100644
--- a/config.def.h
+++ b/config.def.h
_AT_@ -23,7 +23,7 @@ static Bool hidebackground = FALSE;
 
 #define SETPROP(p, q) { \
         .v = (char *[]){ "/bin/sh", "-c", \
- "prop=\"`xprop -id $2 $0 | cut -d '\"' -f 2 | xargs -0 printf | dmenu`\" &&" \
+ "prop=\"`xprop -id $2 $0 | cut -d '\"' -f 2 | xargs -0 printf %b | dmenu`\" &&" \
                 "xprop -id $2 -f $1 8s -set $1 \"$prop\"", \
                 p, q, winid, NULL \
         } \
Received on Sat Mar 30 2013 - 06:51:48 CET

This archive was generated by hypermail 2.3.0 : Sat Mar 30 2013 - 07:00:18 CET