diff options
| author | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-04-10 09:17:53 -0400 | 
|---|---|---|
| committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-04-10 09:17:53 -0400 | 
| commit | 8c69a18b82be2e8179883b1d48cfb2fc0520b6f2 (patch) | |
| tree | 6b13a84bf0993ef512dcd24ca5a554e11ced938e /src | |
| parent | 55dd54d8e239b5d1ea2797d052aee7802da03614 (diff) | |
| download | stasis-8c69a18b82be2e8179883b1d48cfb2fc0520b6f2.tar.gz | |
Fix magic number representing an indent
Diffstat (limited to 'src')
| -rw-r--r-- | src/main.c | 3 | 
1 files changed, 2 insertions, 1 deletions
| @@ -72,10 +72,11 @@ const char *long_options_help[] = {  static int get_option_max_width(struct option option[]) {      int i = 0;      int max = 0; +    const int indent = 4;      while (option[i].name != 0) {          int len = (int) strlen(option[i].name);          if (option[i].has_arg) { -            len += 4; +            len += indent;          }          if (len > max) {              max = len; | 
