diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-02-02 12:46:32 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-02-02 12:46:32 +0300 |
commit | 11caa7aeeb3a7b40823da8573576d2354b7504b5 (patch) | |
tree | fe34c20ea973e65104747b59675acf6363e7b5d2 /src/gui/sdlfont.cpp | |
parent | 0c4ed5a9594b849b436fca13c6992dee923915ed (diff) | |
download | ManaVerse-11caa7aeeb3a7b40823da8573576d2354b7504b5.tar.gz ManaVerse-11caa7aeeb3a7b40823da8573576d2354b7504b5.tar.bz2 ManaVerse-11caa7aeeb3a7b40823da8573576d2354b7504b5.tar.xz ManaVerse-11caa7aeeb3a7b40823da8573576d2354b7504b5.zip |
Add missing const and static into gui classes.
Diffstat (limited to 'src/gui/sdlfont.cpp')
-rw-r--r-- | src/gui/sdlfont.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/sdlfont.cpp b/src/gui/sdlfont.cpp index 8ef78c262..f97970a26 100644 --- a/src/gui/sdlfont.cpp +++ b/src/gui/sdlfont.cpp @@ -404,8 +404,8 @@ TTF_Font *SDLFont::openFont(const char *const name, const int size) // return nullptr; // return TTF_OpenFontIndexRW(rw, 1, size, 0); // #else - return TTF_OpenFontIndex(ResourceManager::getInstance()->getPath( - name).c_str(), size, 0); + return TTF_OpenFontIndex(ResourceManager::getPath(name).c_str(), + size, 0); // #endif } |