about summary refs log tree commit diff
path: root/conf.c
diff options
context:
space:
mode:
authorokan <okan>2014-08-20 15:15:29 +0000
committerokan <okan>2014-08-20 15:15:29 +0000
commitb31b09dfc26b4b17c025d7196b8b5a4a26f599df (patch)
treeb01dff20394ae619cf5d77887050483913d027f8 /conf.c
parent30da2211ddbc39036e98ae951ea53d9a1793c376 (diff)
downloadcwm-b31b09dfc26b4b17c025d7196b8b5a4a26f599df.tar.gz
cwm-b31b09dfc26b4b17c025d7196b8b5a4a26f599df.tar.xz
cwm-b31b09dfc26b4b17c025d7196b8b5a4a26f599df.zip
Purely mechanical; unify 'num', 'no' and 'shortcut'.
Diffstat (limited to 'conf.c')
-rw-r--r--conf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/conf.c b/conf.c
index 528cdf2..c6eb24f 100644
--- a/conf.c
+++ b/conf.c
@@ -78,7 +78,7 @@ conf_cmd_remove(struct conf *c, const char *name)
 	}
 }
 void
-conf_autogroup(struct conf *c, int no, const char *val)
+conf_autogroup(struct conf *c, int num, const char *val)
 {
 	struct autogroupwin	*aw;
 	char			*p;
@@ -93,7 +93,7 @@ conf_autogroup(struct conf *c, int no, const char *val)
 		aw->name = xstrdup(val);
 		aw->class = xstrdup(p);
 	}
-	aw->num = no;
+	aw->num = num;
 
 	TAILQ_INSERT_TAIL(&c->autogroupq, aw, entry);
 }