Allow setting of NULL titles with f_dialog_[back]title().

Approved by:	adrian (co-mentor) (implicit)
This commit is contained in:
Devin Teske 2012-11-27 22:14:22 +00:00
parent 79ec1cd546
commit 540bebd789
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=243636

View File

@ -92,7 +92,7 @@ f_dialog_title()
{
local new_title="$1"
if [ "$new_title" ]; then
if [ "${1+set}" ]; then
if [ "$USE_XDIALOG" ]; then
_DIALOG_BACKTITLE="$DIALOG_BACKTITLE"
DIALOG_BACKTITLE="$new_title"
@ -133,7 +133,7 @@ f_dialog_backtitle()
{
local new_backtitle="$1"
if [ "$new_backtitle" ]; then
if [ "${1+set}" ]; then
if [ "$USE_XDIALOG" ]; then
_DIALOG_TITLE="$DIALOG_TITLE"
DIALOG_TITLE="$new_backtitle"