blob: 57e551e19a9a191637ae1a4229b0b34c30690e29 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--- src/BFont.cpp.orig 2005-02-27 14:29:13 UTC
+++ src/BFont.cpp
@@ -314,7 +314,7 @@ int BFont_TextWidthFont(BFont_Info *Font
/* counts the spaces of the strings */
static int count (const char *text)
{
- char *p = NULL;
+ const char *p = NULL;
int pos = -1;
int i = 0;
@@ -339,7 +339,7 @@ void BFont_JustifiedPutStringFont(SDL_Su
int dif;
char *strtmp;
- char *p;
+ const char *p;
int pos = -1;
int xpos = 0;
|