Make diagnostic_message forward directly to editor_status
This commit is contained in:
parent
100255b650
commit
5013c4d749
15
editor/med.c
15
editor/med.c
|
@ -195,21 +195,6 @@ void clear_editor_status(void)
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
void diagnostic_message( const char *format, ... )
|
||||
{
|
||||
char diag_line[DIAGNOSTIC_MESSAGE_MAX];
|
||||
|
||||
va_list ap;
|
||||
|
||||
va_start(ap, format);
|
||||
vsprintf(diag_line, format, ap);
|
||||
va_end(ap);
|
||||
|
||||
editor_status(diag_line);
|
||||
}
|
||||
|
||||
|
||||
int DropIntoDebugger()
|
||||
{
|
||||
Int3();
|
||||
|
|
|
@ -490,7 +490,7 @@ extern int med_create_duplicate_segment(struct segment *sp);
|
|||
extern int get_free_segment_number(void);
|
||||
|
||||
// Diagnostic message.
|
||||
extern void diagnostic_message(const char *format, ... );
|
||||
#define diagnostic_message editor_status
|
||||
|
||||
// Status Icon.
|
||||
extern void print_status_icon( char icon[1], int position );
|
||||
|
|
Loading…
Reference in a new issue