opnsense-ports/games/openbubbles/files/patch-src_BFont.cpp
Franco Fichtner 9a2c491264 */*: sync with upstream
Taken from: FreeBSD
2017-04-24 06:54:48 +02:00

20 lines
463 B
C++

--- 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;