summaryrefslogtreecommitdiff
path: root/src/gui/sdlfont.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-04-20 16:38:15 +0300
committerAndrei Karas <akaras@inbox.ru>2013-04-20 16:38:15 +0300
commit747dc30f256606e28fd932a9626da7c328114036 (patch)
tree1b3e7e70ba439d14d4936660d44c95c27816a11b /src/gui/sdlfont.cpp
parentcef2952156ab09371ed04beec00d0f1e8615ada9 (diff)
downloadmanaplus-747dc30f256606e28fd932a9626da7c328114036.tar.gz
manaplus-747dc30f256606e28fd932a9626da7c328114036.tar.bz2
manaplus-747dc30f256606e28fd932a9626da7c328114036.tar.xz
manaplus-747dc30f256606e28fd932a9626da7c328114036.zip
fix style in gui directory.
Diffstat (limited to 'src/gui/sdlfont.cpp')
-rw-r--r--src/gui/sdlfont.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/sdlfont.cpp b/src/gui/sdlfont.cpp
index aa512207e..f3d904059 100644
--- a/src/gui/sdlfont.cpp
+++ b/src/gui/sdlfont.cpp
@@ -55,6 +55,7 @@ class SDLTextChunk final
{
}
+
~SDLTextChunk()
{
delete img;
@@ -159,6 +160,7 @@ typedef std::list<SDLTextChunk>::iterator CacheIterator;
static int fontCounter;
SDLFont::SDLFont(std::string filename, const int size, const int style) :
+ mFont(nullptr),
mCreateCounter(0),
mDeleteCounter(0),
mCleanTime(cur_time + CLEAN_TIME)