Use msg_clear() + msg_table_add() instead of msg_display() when showing

the ftpsource message, so that the short lines are not paragraph-filled.
This commit is contained in:
jhawk 2000-07-06 20:25:26 +00:00
parent 52e42eac03
commit f893f0e7e2
2 changed files with 6 additions and 4 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: menus.mi.en,v 1.41 2000/06/29 16:47:09 wiz Exp $ */
/* $NetBSD: menus.mi.en,v 1.42 2000/07/06 20:25:26 jhawk Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@ -222,7 +222,8 @@ menu distset, title "Select your distribution";
menu ftpsource, title "Change";
display action
{ msg_display (MSG_ftpsource, ftp_host, ftp_dir, ftp_user,
{ msg_clear();
msg_table_add (MSG_ftpsource, ftp_host, ftp_dir, ftp_user,
strcmp(ftp_user, "ftp") == 0 ? ftp_pass :
strlen(ftp_pass) != 0 ? "** hidden **" : "");
};

View File

@ -1,4 +1,4 @@
/* $NetBSD: menus.mi.fr,v 1.28 2000/06/18 23:50:03 cyber Exp $ */
/* $NetBSD: menus.mi.fr,v 1.29 2000/07/06 20:25:26 jhawk Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@ -223,7 +223,8 @@ menu distset, title "S
menu ftpsource, title "Changer";
display action
{ msg_display (MSG_ftpsource, ftp_host, ftp_dir, ftp_user,
{ msg_clear();
msg_table_add (MSG_ftpsource, ftp_host, ftp_dir, ftp_user,
strcmp(ftp_user, "ftp") == 0 ? ftp_pass :
strlen(ftp_pass) != 0 ? "** caché **" : "");
};