diff --git a/contrib/bsddialog/bsddialog.c b/contrib/bsddialog/bsddialog.c --- a/contrib/bsddialog/bsddialog.c +++ b/contrib/bsddialog/bsddialog.c @@ -454,7 +454,8 @@ 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;