bsddialog(1): Improve --hline (help subtitle)
Improvement for bsdconfig(8): avoid to draw delimiters (or spaces) on the bottom line if the argument of --hline is an empty string.
This commit is contained in:
parent
1d3f2ddc32
commit
9225c909fb
@ -454,7 +454,8 @@ int main(int argc, char *argv[argc])
|
||||
conf.key.f1_file = optarg;
|
||||
break;
|
||||
case HLINE:
|
||||
conf.bottomtitle = optarg;
|
||||
if (strlen(optarg) > 0)
|
||||
conf.bottomtitle = optarg;
|
||||
break;
|
||||
case HMSG:
|
||||
conf.key.f1_message = optarg;
|
||||
|
Loading…
Reference in New Issue
Block a user