diff options
author | Jordan K. Hubbard <jkh@FreeBSD.org> | 1995-05-20 14:05:31 +0000 |
---|---|---|
committer | Jordan K. Hubbard <jkh@FreeBSD.org> | 1995-05-20 14:05:31 +0000 |
commit | 7fe566d31bce0b43ba61a53695aefa034503753e (patch) | |
tree | 79a26f845e67e6b9911dbd24b4e513af32cd975e /usr.sbin/sade/msg.c | |
parent | 0aa9f139ddfc0ddb379f51917ed6eef20e3e7905 (diff) | |
download | src-7fe566d31bce0b43ba61a53695aefa034503753e.tar.gz src-7fe566d31bce0b43ba61a53695aefa034503753e.zip |
Try again to get cpio_extract() to work. Also fix the bogon
I introduced with msgNotify() again. Sigh. I'll get it looking
correct someday!
Notes
Notes:
svn path=/head/; revision=8649
Diffstat (limited to 'usr.sbin/sade/msg.c')
-rw-r--r-- | usr.sbin/sade/msg.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/usr.sbin/sade/msg.c b/usr.sbin/sade/msg.c index ccfaff6b35cd..31ec20c73951 100644 --- a/usr.sbin/sade/msg.c +++ b/usr.sbin/sade/msg.c @@ -4,7 +4,7 @@ * This is probably the last program in the `sysinstall' line - the next * generation being essentially a complete rewrite. * - * $Id: msg.c,v 1.18 1995/05/20 10:33:10 jkh Exp $ + * $Id: msg.c,v 1.19 1995/05/20 13:24:34 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -180,6 +180,7 @@ msgConfirm(char *fmt, ...) { va_list args; char *errstr; + WINDOW *w; errstr = (char *)safe_malloc(FILENAME_MAX); va_start(args, fmt); @@ -187,11 +188,15 @@ msgConfirm(char *fmt, ...) va_end(args); use_helpline(NULL); use_helpfile(NULL); + w = dupwin(newscr); if (OnVTY) { msgDebug("User confirmation requested (type ALT-F1)\n"); msgInfo(NULL); } dialog_notify(errstr); + touchwin(w); + wrefresh(w); + delwin(w); free(errstr); } @@ -209,8 +214,8 @@ msgNotify(char *fmt, ...) use_helpline(NULL); use_helpfile(NULL); msgDebug("Notify: %s\n", errstr); - dialog_msgbox("Information Dialog", errstr, -1, -1, 0); dialog_clear(); + dialog_msgbox("Information Dialog", errstr, -1, -1, 0); free(errstr); } |