Diff for ep/src/message.c between version 1.3 and 1.4
| version 1.3, 2001/09/21 19:54:45 |
version 1.4, 2002/02/06 21:44:11 |
|
|
| /* |
/* |
| * $Log$ |
* $Id$ |
| * Revision 1.3 2001/09/21 19:54:45 host8 |
|
| * Cosmetics changes in *.c |
|
| * |
|
| * Revision 1.2 2001/09/21 19:44:51 host8 |
|
| * Added $Log$ |
|
| * Added Revision 1.3 2001/09/21 19:54:45 host8 |
|
| * Added Cosmetics changes in *.c |
|
| * Added keyword substitution |
|
| * |
|
| */ |
*/ |
| #ifdef HAVE_CONFIG_H |
#ifdef HAVE_CONFIG_H |
| # include "config.h" |
# include "config.h" |
| Line 60 msg_error_print(char *fmt, ...) |
|
| Line 51 msg_error_print(char *fmt, ...) |
|
| |
|
| va_start(ap, fmt); |
va_start(ap, fmt); |
| #if MENU |
#if MENU |
| |
|
| |
#if DEBUG |
| |
printw( "%s-ERROR: ", argv0); |
| |
#else |
| printw( "%s-error: ", argv0); |
printw( "%s-error: ", argv0); |
| |
#endif |
| |
|
| vwprintw(stdscr, fmt, ap); |
vwprintw(stdscr, fmt, ap); |
| refresh(); |
refresh(); |
| #else |
#else |
| #if HAVE_VPRINTF |
#if HAVE_VPRINTF |
| |
|
| |
#if DEBUG |
| |
fprintf(stderr, "%s-ERROR: ", argv0); |
| |
#else |
| fprintf(stderr, "%s-error: ", argv0); |
fprintf(stderr, "%s-error: ", argv0); |
| |
#endif |
| |
|
| vfprintf(stderr, fmt, ap); |
vfprintf(stderr, fmt, ap); |
| #else |
#else |
| fprintf(stderr, "%s-warning: vfprintf() function not available\n", argv0); |
fprintf(stderr, "%s-warning: vfprintf() function not available\n", argv0); |
Platon Group <platon@platon.org> http://platon.org/
|
|