mirror of
https://github.com/edubart/otclient.git
synced 2025-10-17 13:03:27 +02:00
many changes and refactoring
This commit is contained in:
@@ -22,10 +22,12 @@
|
||||
*/
|
||||
|
||||
|
||||
#include <prerequisites.h>
|
||||
#include <global.h>
|
||||
#include <core/resources.h>
|
||||
#include <graphics/fonts.h>
|
||||
|
||||
#include <boost/algorithm/string.hpp>
|
||||
|
||||
Fonts g_fonts;
|
||||
|
||||
void Fonts::init()
|
||||
@@ -55,7 +57,7 @@ FontPtr Fonts::get(const std::string& fontName)
|
||||
return font;
|
||||
}
|
||||
|
||||
flogFatal("ERROR: Font \"%s\" not found", fontName.c_str());
|
||||
fatal("ERROR: Font '",fontName,"' not found");
|
||||
return FontPtr();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user