ref: 93fb29c19b1504f3239a65f034161309cc39f78a
parent: b6b765a01584fd16f891eaa8691832982f0337a6
author: Turo Lamminen <turotl@gmail.com>
date: Thu Mar 1 15:05:37 EST 2018
Make I_Error format string parameter const
--- a/src/i_system.c
+++ b/src/i_system.c
@@ -260,7 +260,7 @@
static boolean already_quitting = false;
-void I_Error (char *error, ...)
+void I_Error (const char *error, ...)
{
char msgbuf[512];
va_list argptr;
--- a/src/i_system.h
+++ b/src/i_system.h
@@ -52,7 +52,7 @@
// Clean exit, displays sell blurb.
void I_Quit (void);
-void I_Error (char *error, ...) PRINTF_ATTR(1, 2);
+void I_Error (const char *error, ...) PRINTF_ATTR(1, 2);
void I_Tactile (int on, int off, int total);