Purely mechanical; unify 'num', 'no' and 'shortcut'.

This commit is contained in:
okan
2014-08-20 15:15:29 +00:00
parent 30da2211dd
commit b31b09dfc2
8 changed files with 30 additions and 31 deletions

4
conf.c
View File

@ -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);
}