heretic: Make MN_TextBWidth parameter const
This commit is contained in:
parent
fe5173fde9
commit
00311e89f5
2 changed files with 2 additions and 2 deletions
|
|
@ -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"
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue