diff options
Diffstat (limited to 'src/commandhandler.cpp')
-rw-r--r-- | src/commandhandler.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/commandhandler.cpp b/src/commandhandler.cpp index 96af6e775..3b2f38f72 100644 --- a/src/commandhandler.cpp +++ b/src/commandhandler.cpp @@ -36,7 +36,7 @@ #include "gui/outfitwindow.h" #include "gui/shopwindow.h" #include "gui/trade.h" -#include "gui/truetypefont.h" +#include "gui/sdlfont.h" #include "gui/widgets/channeltab.h" #include "gui/widgets/chattab.h" @@ -984,11 +984,11 @@ void CommandHandler::handleCacheInfo(const std::string &args _UNUSED_, if (!chatWindow || !debugChatTab) return; - TrueTypeFont *font = dynamic_cast<TrueTypeFont *>(chatWindow->getFont()); + SDLFont *font = dynamic_cast<SDLFont *>(chatWindow->getFont()); if (!font) return; - std::list<TextChunk> *cache = font->getCache(); + std::list<SDLTextChunk> *cache = font->getCache(); if (!cache) return; |