Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/distrib/utils/sysinst Use msg_clear() + msg_table_add() inst...



details:   https://anonhg.NetBSD.org/src/rev/69e45a31b988
branches:  trunk
changeset: 494479:69e45a31b988
user:      jhawk <jhawk%NetBSD.org@localhost>
date:      Thu Jul 06 20:25:26 2000 +0000

description:
Use msg_clear() + msg_table_add() instead of msg_display() when showing
the ftpsource message, so that the short lines are not paragraph-filled.

diffstat:

 distrib/utils/sysinst/menus.mi.en |  5 +++--
 distrib/utils/sysinst/menus.mi.fr |  5 +++--
 2 files changed, 6 insertions(+), 4 deletions(-)

diffs (38 lines):

diff -r 82462cbc9e4b -r 69e45a31b988 distrib/utils/sysinst/menus.mi.en
--- a/distrib/utils/sysinst/menus.mi.en Thu Jul 06 20:10:42 2000 +0000
+++ b/distrib/utils/sysinst/menus.mi.en Thu Jul 06 20:25:26 2000 +0000
@@ -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 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 **" : "");
                };
diff -r 82462cbc9e4b -r 69e45a31b988 distrib/utils/sysinst/menus.mi.fr
--- a/distrib/utils/sysinst/menus.mi.fr Thu Jul 06 20:10:42 2000 +0000
+++ b/distrib/utils/sysinst/menus.mi.fr Thu Jul 06 20:25:26 2000 +0000
@@ -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 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é **" : "");
                };



Home | Main Index | Thread Index | Old Index