Increase length of text buffer.

This commit is contained in:
Steve 2016-05-29 09:39:00 +01:00
parent 8d19817fe6
commit c85661dcd0
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ static void drawTextNormal(int x, int y, int size, int align, SDL_Color c, char
static void drawTextSplit(int x, int y, int size, int align, SDL_Color c, char *text); static void drawTextSplit(int x, int y, int size, int align, SDL_Color c, char *text);
void textSize(char *text, int size, int *w, int *h); void textSize(char *text, int size, int *w, int *h);
static char drawTextBuffer[MAX_DESCRIPTION_LENGTH]; static char drawTextBuffer[MAX_LINE_LENGTH];
static TTF_Font *font[MAX_FONTS]; static TTF_Font *font[MAX_FONTS];
static Texture textures[NUM_TEXT_BUCKETS]; static Texture textures[NUM_TEXT_BUCKETS];
static int maxWidth = 0; static int maxWidth = 0;