summaryrefslogtreecommitdiff
path: root/src/commandhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-04-04 03:28:21 +0300
committerAndrei Karas <akaras@inbox.ru>2011-04-04 03:28:21 +0300
commitd18b9616bbe54db5d33363a197c8b9efa6161fa8 (patch)
tree56b1bca0f9ca60699810e2bf31625365c0affd42 /src/commandhandler.cpp
parent07e988baf55b0e0f4b736e9305604536dbc872ff (diff)
downloadplus-d18b9616bbe54db5d33363a197c8b9efa6161fa8.tar.gz
plus-d18b9616bbe54db5d33363a197c8b9efa6161fa8.tar.bz2
plus-d18b9616bbe54db5d33363a197c8b9efa6161fa8.tar.xz
plus-d18b9616bbe54db5d33363a197c8b9efa6161fa8.zip
Rename TrueTypeFont to SDLFont.
Diffstat (limited to 'src/commandhandler.cpp')
-rw-r--r--src/commandhandler.cpp6
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;