summaryrefslogtreecommitdiff
path: root/src/gui/sdlfont.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-18 20:47:08 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-19 15:12:22 +0300
commit25eafb29d073b78b167c1fd17c1a8f83b6769f7d (patch)
treecffd951d29920db5d011f59b3141fde600e3d65a /src/gui/sdlfont.cpp
parent86e6567d0849211f3dae3ed9d60d24b2de8565e5 (diff)
downloadmanaverse-25eafb29d073b78b167c1fd17c1a8f83b6769f7d.tar.gz
manaverse-25eafb29d073b78b167c1fd17c1a8f83b6769f7d.tar.bz2
manaverse-25eafb29d073b78b167c1fd17c1a8f83b6769f7d.tar.xz
manaverse-25eafb29d073b78b167c1fd17c1a8f83b6769f7d.zip
add missing initialisation in sdlfont.
Diffstat (limited to 'src/gui/sdlfont.cpp')
-rw-r--r--src/gui/sdlfont.cpp2
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;