Fix font prototype mismatch in SDL-only case
Commit 33bf139002
changed OGL
gr_internal_color_string to take a const char, but left SDL
gr_internal_color_string with non-const char.
This commit is contained in:
parent
7f5266e4a2
commit
c00c2e9829
|
@ -438,10 +438,10 @@ grs_bitmap char_bm = {
|
|||
0 //unused
|
||||
};
|
||||
|
||||
int gr_internal_color_string(int x, int y, char *s )
|
||||
int gr_internal_color_string(int x, int y, const char *s )
|
||||
{
|
||||
unsigned char * fp;
|
||||
char *text_ptr, *next_row, *text_ptr1;
|
||||
const char *text_ptr, *next_row, *text_ptr1;
|
||||
int width, spacing,letter;
|
||||
int xx,yy;
|
||||
|
||||
|
|
Loading…
Reference in a new issue