forked from external/yambar
tag: remove the :b formatter
Superseded by /N. Removing since a) it's no longer needed, and b) its name is not consistent with the other kb/mb/gb formatters.
This commit is contained in:
parent
c80bae7604
commit
060586dbbe
3 changed files with 0 additions and 11 deletions
4
tag.c
4
tag.c
|
@ -545,10 +545,6 @@ tags_expand_template(const char *template, const struct tag_set *tags)
|
|||
LOG_WARN("tag `%s`: invalid divider %s, reset to 1", tag_name, divider_str);
|
||||
}
|
||||
}
|
||||
else if (strcmp(tag_args[i], "b") == 0) {
|
||||
format = FMT_DIVIDE;
|
||||
divider = 8;
|
||||
}
|
||||
else if (strcmp(tag_args[i], "kb") == 0) {
|
||||
format = FMT_DIVIDE;
|
||||
divider = 1000;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue