summaryrefslogtreecommitdiff
path: root/src/progs
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-09-18 04:57:15 +0300
committerAndrei Karas <akaras@inbox.ru>2017-09-18 04:57:15 +0300
commitec6c80d170c4a30e76abc22c889aa8cf27fb45a4 (patch)
tree731b2ff100005f6deb5951ff516d45897c9f94fe /src/progs
parentea7ce2d1099761d4f10a1985cc1491dd306093fb (diff)
downloadmv-ec6c80d170c4a30e76abc22c889aa8cf27fb45a4.tar.gz
mv-ec6c80d170c4a30e76abc22c889aa8cf27fb45a4.tar.bz2
mv-ec6c80d170c4a30e76abc22c889aa8cf27fb45a4.tar.xz
mv-ec6c80d170c4a30e76abc22c889aa8cf27fb45a4.zip
Remove default parameter from font constructor and load function.
Diffstat (limited to 'src/progs')
-rw-r--r--src/progs/manaplus/actions/actions.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/progs/manaplus/actions/actions.cpp b/src/progs/manaplus/actions/actions.cpp
index 458332fb0..0827418c7 100644
--- a/src/progs/manaplus/actions/actions.cpp
+++ b/src/progs/manaplus/actions/actions.cpp
@@ -1478,7 +1478,7 @@ impHandler(dumpMods)
#if defined USE_OPENGL && defined DEBUG_SDLFONT
impHandler0(testSdlFont)
{
- Font *font = new Font("fonts/dejavusans.ttf", 18);
+ Font *font = new Font("fonts/dejavusans.ttf", 18, TTF_STYLE_NORMAL);
timespec time1;
timespec time2;
NullOpenGLGraphics *nullGraphics = new NullOpenGLGraphics;