1998-03-30 Miguel de Icaza <miguel@nuclecu.unam.mx>

* wtools.c (quick_dialog_skip): Do not i18n any string that is empty.
This commit is contained in:
Miguel de Icaza 1998-03-30 19:14:22 +00:00
parent 303cd55bce
commit 7967178200
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,7 @@
1998-03-30 Miguel de Icaza <miguel@nuclecu.unam.mx>
* wtools.c (quick_dialog_skip): Do not i18n any string that is empty.
Wed Mar 25 19:05:31 1998 Norbert Warmuth <k3190@fh-sw.de>
* view.c (view_done): Set monitor off before deleting the view

View File

@ -445,7 +445,8 @@ static int quick_callback (struct Dlg_head *h, int id, int Msg)
return 0;
}
#define I18N(x) (do_int? (x = _(x)) : x)
#define I18N(x) (do_int && *x ? (x = _(x)): x)
int quick_dialog_skip (QuickDialog *qd, int nskip)
{
Dlg_head *dd;
@ -461,7 +462,8 @@ int quick_dialog_skip (QuickDialog *qd, int nskip)
if (!qd->i18n){
qd->i18n = 1;
do_int = 1;
qd->title = _(qd->title);
if (*qd->title)
qd->title = _(qd->title);
} else
do_int = 0;