ref: c0f32f99233c8b8bbf1b1c89d07a59d2f1d07112
parent: 61fe0bfe53cf383e7eb6260bd6f99299cc15a3aa
author: Turo Lamminen <turotl@gmail.com>
date: Tue Apr 24 16:04:21 EDT 2018
heretic: Make MN_TextAWidth parameter const
--- a/src/heretic/doomdef.h
+++ b/src/heretic/doomdef.h
@@ -819,7 +819,7 @@
void MN_Ticker(void);
void MN_Drawer(void);
void MN_DrTextA(const char *text, int x, int y);
-int MN_TextAWidth(char *text);
+int MN_TextAWidth(const char *text);
void MN_DrTextB(char *text, int x, int y);
int MN_TextBWidth(char *text);
--- a/src/heretic/mn_menu.c
+++ b/src/heretic/mn_menu.c
@@ -358,7 +358,7 @@
//
//---------------------------------------------------------------------------
-int MN_TextAWidth(char *text)
+int MN_TextAWidth(const char *text)
{
char c;
int width;