summaryrefslogtreecommitdiff
path: root/src/gui/sdlfont.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-12-31 20:25:43 +0300
committerAndrei Karas <akaras@inbox.ru>2013-12-31 20:25:43 +0300
commit7e5386bc62f1f61d3409219292e1ec0d71cbd28e (patch)
tree3e4233abac1d52ff1103bdd8b4747a4e91b5f575 /src/gui/sdlfont.cpp
parent62879acf891f1939e16fa32d2426b56f08f1609b (diff)
downloadmanaplus-7e5386bc62f1f61d3409219292e1ec0d71cbd28e.tar.gz
manaplus-7e5386bc62f1f61d3409219292e1ec0d71cbd28e.tar.bz2
manaplus-7e5386bc62f1f61d3409219292e1ec0d71cbd28e.tar.xz
manaplus-7e5386bc62f1f61d3409219292e1ec0d71cbd28e.zip
fix code style.
Diffstat (limited to 'src/gui/sdlfont.cpp')
-rw-r--r--src/gui/sdlfont.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/sdlfont.cpp b/src/gui/sdlfont.cpp
index 742f3d9aa..c1b090171 100644
--- a/src/gui/sdlfont.cpp
+++ b/src/gui/sdlfont.cpp
@@ -398,15 +398,15 @@ SDLFont::~SDLFont()
TTF_Font *SDLFont::openFont(const char *const name, const int size)
{
// disabled for now because some systems like gentoo cant use it
-//#ifdef USE_SDL2
+// #ifdef USE_SDL2
// SDL_RWops *const rw = MPHYSFSRWOPS_openRead(name);
// if (!rw)
// return nullptr;
// return TTF_OpenFontIndexRW(rw, 1, size, 0);
-//#else
+// #else
return TTF_OpenFontIndex(ResourceManager::getInstance()->getPath(
name).c_str(), size, 0);
-//#endif
+// #endif
}
void SDLFont::loadFont(std::string filename,