X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=SFont.h;h=a243dddeb5b5e0a90bcb6f62e1ddf6d4f22ac1fa;hp=acdae2aad91f2013b2c4ba53bf7bf87cd3cdb2c7;hb=61b0a431ca3c5dabfa5445355664f00e312c5299;hpb=2ed89c59f0efcd0a2763f47c7d3455663241e623 diff --git a/SFont.h b/SFont.h index acdae2aa..a243ddde 100644 --- a/SFont.h +++ b/SFont.h @@ -36,7 +36,7 @@ void InitFont2(SFont_FontInfo *Font); // Destination: the suface you want to blit to // text: a string containing the text you want to blit. void PutString (SDL_Surface *Surface, int x, int y, char *text); -void PutString2(SDL_Surface *Surface, SFont_FontInfo *Font, int x, int y, char *text); +void PutString2(SDL_Surface *Surface, SFont_FontInfo *Font, int x, int y, const char *text); // Returns the width of "text" in pixels int TextWidth(char *text);