From 25eafb29d073b78b167c1fd17c1a8f83b6769f7d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 18 Oct 2013 20:47:08 +0300 Subject: add missing initialisation in sdlfont. --- src/gui/sdlfont.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/sdlfont.cpp') diff --git a/src/gui/sdlfont.cpp b/src/gui/sdlfont.cpp index 01e2c568f..985ddf69b 100644 --- a/src/gui/sdlfont.cpp +++ b/src/gui/sdlfont.cpp @@ -53,7 +53,7 @@ const int OUTLINE_SIZE = 1; bool SDLFont::mSoftMode(false); -char *strBuf; +char *strBuf = nullptr; #ifdef UNITTESTS int sdlTextChunkCnt = 0; -- cgit v1.2.3-60-g2f50