mirror of
https://github.com/leahneukirchen/cwm.git
synced 2023-08-10 21:13:12 +03:00
Purely mechanical; unify 'num', 'no' and 'shortcut'.
This commit is contained in:
4
conf.c
4
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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user