summaryrefslogtreecommitdiff
path: root/src/commands.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-02-16 22:17:22 +0300
committerAndrei Karas <akaras@inbox.ru>2014-02-16 22:17:22 +0300
commit6e6c5b2ba399e0ed364ada843c4c759ee54de219 (patch)
tree562e6a840c856ba8c4d35c6806020289c65d54d2 /src/commands.cpp
parent82ac4641828ec7387863bb18cf4493190c4cc68f (diff)
downloadManaVerse-6e6c5b2ba399e0ed364ada843c4c759ee54de219.tar.gz
ManaVerse-6e6c5b2ba399e0ed364ada843c4c759ee54de219.tar.bz2
ManaVerse-6e6c5b2ba399e0ed364ada843c4c759ee54de219.tar.xz
ManaVerse-6e6c5b2ba399e0ed364ada843c4c759ee54de219.zip
combine font classes in one.
Diffstat (limited to 'src/commands.cpp')
-rw-r--r--src/commands.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commands.cpp b/src/commands.cpp
index 04cd84166..93e07b0f8 100644
--- a/src/commands.cpp
+++ b/src/commands.cpp
@@ -1024,7 +1024,7 @@ impHandler0(cacheInfo)
return;
/*
- SDLFont *const font = dynamic_cast<SDLFont *const>(chatWindow->getFont());
+ Font *const font = chatWindow->getFont();
if (!font)
return;
@@ -1361,7 +1361,7 @@ impHandler0(uploadLog)
impHandler0(testsdlfont)
{
#if defined USE_OPENGL && defined DEBUG_SDLFONT
- SDLFont *font = new SDLFont("fonts/dejavusans.ttf", 18);
+ Font *font = new Font("fonts/dejavusans.ttf", 18);
timespec time1;
timespec time2;
NullOpenGLGraphics *nullGraphics = new NullOpenGLGraphics;