Use editor_status instead of editor_status_fmt where possible

This commit is contained in:
Kp 2013-12-08 23:37:40 +00:00
parent a99b07c98e
commit 3d79fe9b40
2 changed files with 3 additions and 1 deletions

View file

@ -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

View file

@ -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;