diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-18 20:47:08 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-19 15:12:22 +0300 |
commit | 25eafb29d073b78b167c1fd17c1a8f83b6769f7d (patch) | |
tree | cffd951d29920db5d011f59b3141fde600e3d65a /src/gui/sdlfont.cpp | |
parent | 86e6567d0849211f3dae3ed9d60d24b2de8565e5 (diff) | |
download | plus-25eafb29d073b78b167c1fd17c1a8f83b6769f7d.tar.gz plus-25eafb29d073b78b167c1fd17c1a8f83b6769f7d.tar.bz2 plus-25eafb29d073b78b167c1fd17c1a8f83b6769f7d.tar.xz plus-25eafb29d073b78b167c1fd17c1a8f83b6769f7d.zip |
add missing initialisation in sdlfont.
Diffstat (limited to 'src/gui/sdlfont.cpp')
-rw-r--r-- | src/gui/sdlfont.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; |