Properly log CTL_NONE controls

This commit is contained in:
Alexandre Ratchov 2020-04-15 14:41:21 +02:00
parent 573c328527
commit 54839e409a
1 changed files with 3 additions and 0 deletions

View File

@ -2277,6 +2277,9 @@ ctl_log(struct ctl *c)
log_puts(c->func);
log_puts("=");
switch (c->type) {
case CTL_NONE:
log_puts("none");
break;
case CTL_NUM:
case CTL_SW:
log_putu(c->curval);