From c85661dcd0782c4dc134d7c0da9536ac9ce77823 Mon Sep 17 00:00:00 2001 From: Steve Date: Sun, 29 May 2016 09:39:00 +0100 Subject: [PATCH] Increase length of text buffer. --- src/draw/text.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/draw/text.c b/src/draw/text.c index 6b94941..e9f277c 100644 --- a/src/draw/text.c +++ b/src/draw/text.c @@ -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); 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 Texture textures[NUM_TEXT_BUCKETS]; static int maxWidth = 0;