Use editor_status instead of editor_status_fmt where possible
This commit is contained in:
parent
a99b07c98e
commit
3d79fe9b40
|
@ -26,6 +26,7 @@ COPYRIGHT 1993-1999 PARALLAX SOFTWARE CORPORATION. ALL RIGHTS RESERVED.
|
|||
#include "inferno.h"
|
||||
#include "gr.h"
|
||||
#include "ui.h"
|
||||
#include "fmtcheck.h"
|
||||
|
||||
struct window;
|
||||
struct segment;
|
||||
|
@ -473,6 +474,7 @@ extern void clear_status_icon( char icon[1], int position );
|
|||
|
||||
// Editor status message.
|
||||
extern void editor_status_fmt(const char *format, ... ) __attribute_format_printf(1, 2);
|
||||
#define editor_status_fmt(F,...) dxx_call_printf_checked(editor_status_fmt,editor_status,(),(F),##__VA_ARGS__)
|
||||
|
||||
// Variables in editor.c that the k*.c files need
|
||||
|
||||
|
|
|
@ -163,7 +163,7 @@ static char status_line[DIAGNOSTIC_MESSAGE_MAX] = "";
|
|||
|
||||
struct tm Editor_status_last_time;
|
||||
|
||||
void editor_status_fmt( const char *format, ... )
|
||||
void (editor_status_fmt)( const char *format, ... )
|
||||
{
|
||||
va_list ap;
|
||||
|
||||
|
|
Loading…
Reference in a new issue