#define HAVE_TLS_CONTEXT
#endif
-#include "../src/defines.h"
-#include "../src/SFont.h"
+#include "../../src/defines.h"
+#include "../../src/SFont.h"
#ifdef HAVE_SDL_IMAGE
#include <SDL_image.h>
if ((ch=='\b')&&(strlen(text)>0))
text[strlen(text)-1]='\0';
else if (ch!='\b')
- sprintf(text,"%s%c",text,ch);
+ sprintf(text+strlen(text),"%c",ch);
if (SFont_TextWidth2(Font,text)>PixelWidth) text[strlen(text)-1]='\0';
SDL_BlitSurface( Back, NULL, Dest, &rect);
SFont_PutString2(Dest, Font, x, y, text);