summaryrefslogtreecommitdiff
path: root/src/gui/sdlfont.cpp
diff options
context:
space:
mode:
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;