diff options
author | PilzAdam <pilzadam@minetest.net> | 2013-05-16 02:19:32 +0200 |
---|---|---|
committer | PilzAdam <pilzadam@minetest.net> | 2013-05-16 02:20:10 +0200 |
commit | 587e7b299b1d39bc5139a3678cecce0f91381605 (patch) | |
tree | b9300f652ff84070a9197b25996fe2f9cf00421c /src/guiChatConsole.cpp | |
parent | d5ca3b721e049fc4f59718a55c932a06533d4b3c (diff) | |
download | minetest-587e7b299b1d39bc5139a3678cecce0f91381605.tar.gz minetest-587e7b299b1d39bc5139a3678cecce0f91381605.tar.bz2 minetest-587e7b299b1d39bc5139a3678cecce0f91381605.zip |
Dont drop fonts with ENABLE_FREETYPE=0
Diffstat (limited to 'src/guiChatConsole.cpp')
-rw-r--r-- | src/guiChatConsole.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/guiChatConsole.cpp b/src/guiChatConsole.cpp index f31e599dc..3dfd0090a 100644 --- a/src/guiChatConsole.cpp +++ b/src/guiChatConsole.cpp @@ -121,7 +121,9 @@ GUIChatConsole::GUIChatConsole( GUIChatConsole::~GUIChatConsole() { - delete m_font; +#if USE_FREETYPE + m_font->drop(); +#endif } void GUIChatConsole::openConsole(f32 height) |