Revert "Set MIN_BAR_COUNT to 2 and use it if bar_count is not set"

This reverts commit f572758e95.
This commit is contained in:
Raymond Li 2021-02-15 01:15:34 -05:00
parent 1aa7edc7a7
commit cd7fe5e00b
No known key found for this signature in database
GPG Key ID: A014EA89B62BBB1B
1 changed files with 2 additions and 2 deletions

View File

@ -269,7 +269,7 @@ bool redraw_thread = false;
#define BAR_REVERSED 1
#define BAR_BIDIRECTIONAL 2
#define MAX_BAR_COUNT 65535
#define MIN_BAR_COUNT 2
#define MIN_BAR_COUNT 1
bool bar_enabled = false;
double *bar_heights = NULL;
@ -2298,7 +2298,7 @@ int main(int argc, char *argv[]) {
++bar_count;
}
} else {
bar_count = MIN_BAR_COUNT;
bar_count = 10;
}
} else if (bar_width != 0) {
errx(EXIT_FAILURE, "bar-width and bar-count cannot be used at the same time");