heretic: Make MN_TextBWidth parameter const

This commit is contained in:
Turo Lamminen 2018-04-24 20:14:32 +03:00
parent fe5173fde9
commit 00311e89f5
2 changed files with 2 additions and 2 deletions

View file

@ -821,7 +821,7 @@ void MN_Drawer(void);
void MN_DrTextA(const char *text, int x, int y);
int MN_TextAWidth(const char *text);
void MN_DrTextB(const char *text, int x, int y);
int MN_TextBWidth(char *text);
int MN_TextBWidth(const char *text);
#include "sounds.h"

View file

@ -416,7 +416,7 @@ void MN_DrTextB(const char *text, int x, int y)
//
//---------------------------------------------------------------------------
int MN_TextBWidth(char *text)
int MN_TextBWidth(const char *text)
{
char c;
int width;