3 * Author: Marc van Kempen
4 * Desc: display a notify box with a message
6 * Copyright (c) 1995, Marc van Kempen
10 * This software may be used, modified, copied, distributed, and
11 * sold, in both source and binary form provided that the above
12 * copyright and these terms are retained, verbatim, as the first
13 * lines of this file. Under no circumstances is the author
14 * responsible for the proper functioning of this software, nor does
15 * the author assume any responsibility for damages incurred with
20 #include <sys/cdefs.h>
21 __FBSDID("$FreeBSD$");
28 dialog_notify(char *msg)
30 * Desc: display an error message
39 fprintf(stderr, "\ndupwin(newscr) failed, malloc memory corrupted\n");
42 tmphlp = get_helpline();
43 use_helpline("Press enter or space");
44 dialog_mesgbox("Message", msg, -1, -1);
45 restore_helpline(tmphlp);
52 } /* dialog_notify() */