commit 59fe492d7493888f533593e27226c70a1d26801f
parent f02ebd6d4ff67033a2635e92d59919c9a1103c3b
Author: Kris Maglione <jg@suckless.org>
Date: Sun, 25 Feb 2007 14:25:42 -0500
Replace Action- with Action_ in wmiirc
Diffstat:
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/area.c b/area.c
@@ -417,7 +417,7 @@ select_area(Area *a, char *arg) {
}else {
if(sscanf(arg, "%u", &i) != 1 || i == 0)
return Ebadvalue;
- for(new=view->area->next; new->next && i; new=new->next)
+ for(new=view->area->next; new->next; new=new->next)
if(!--i) break;
}
focus_area(new);
diff --git a/rc/wmiirc b/rc/wmiirc
@@ -152,7 +152,7 @@ tagsmenu() {
Action() {
action=\$1; shift
if [ -n "\$action" ]; then
- Action-\$action \$@ || \$(conf_which "\$action") \$@
+ Action_\$action \$@ || \$(conf_which "\$action") \$@
fi
}
diff --git a/wmiiloop b/wmiiloop
@@ -41,7 +41,7 @@ END {
for(action in actions) {
gsub("\"", "\\\"", action)
print "ACTIONS=\"$ACTIONS\n" action "\""
- print "Action-" action "() {" actions[action] "\n}"
+ print "Action_" action "() {" actions[action] "\n}"
}
while(readevent | getline) {
split($0, arg)
diff --git a/wmiiloop.1 b/wmiiloop.1
@@ -61,7 +61,7 @@ set to further arguments.
.TP 2
.BI "Action " name
A function called
-.BI Action\- name
+.BI Action_ name
is created with
.I body
as its body, and