aboutsummaryrefslogtreecommitdiffstats
path: root/parse.y
diff options
context:
space:
mode:
authorokan2014-01-20 21:34:32 +0000
committerokan2014-01-20 21:34:32 +0000
commita142331514fc5e300b8bbc97cc5bc71ca7080d7b (patch)
tree3581772313904b503a72c3509278d66a6837dba2 /parse.y
parentbc4622e632abd877c52d5baa8359e834325a4f23 (diff)
downloadcwm-a142331514fc5e300b8bbc97cc5bc71ca7080d7b.tar.gz
constify and rename some confusing variables around cmdq.
Diffstat (limited to 'parse.y')
-rw-r--r--parse.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/parse.y b/parse.y
index 6700a01..48c2836 100644
--- a/parse.y
+++ b/parse.y
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse.y,v 1.50 2014/01/20 19:06:04 okan Exp $ */
+/* $OpenBSD: parse.y,v 1.51 2014/01/20 21:34:32 okan Exp $ */
/*
* Copyright (c) 2002, 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -137,7 +137,7 @@ main : FONTNAME STRING {
conf->snapdist = $2;
}
| COMMAND STRING string {
- conf_cmd_add(conf, $3, $2);
+ conf_cmd_add(conf, $2, $3);
free($2);
free($3);
}