not having wide chars is soooo 90, please, I *really* don't care with
[apps/madmutt.git] / lib.c
1 /*
2  * Copyright notice from original mutt:
3  * Copyright (C) 1996-2000 Michael R. Elkins <me@mutt.org>
4  * Copyright (C) 1999-2000 Thomas Roessler <roessler@does-not-exist.org>
5  *
6  * This file is part of mutt-ng, see http://www.muttng.org/.
7  * It's licensed under the GNU General Public License,
8  * please see the file GPL in the top level source directory.
9  */
10
11 #if HAVE_CONFIG_H
12 # include "config.h"
13 #endif
14
15 #include <stdio.h>
16 #include <stdarg.h>
17
18 #include "lib.h"
19
20 void mutt_nocurses_error (const char *fmt, ...)
21 {
22     va_list ap;
23
24     va_start(ap, fmt);
25     vfprintf(stderr, fmt, ap);
26     va_end(ap);
27     fputc('\n', stderr);
28 }