Remove unused header
Also fix some spacing
This commit is contained in:
parent
09101e923c
commit
0b5a916980
@ -26,9 +26,7 @@
|
||||
#include <IAttributes.h>
|
||||
#include <IGUIEnvironment.h>
|
||||
#include <IGUISpriteBank.h>
|
||||
#include <IReadFile.h>
|
||||
#include <IVideoDriver.h>
|
||||
#include <IXMLReader.h>
|
||||
|
||||
#include <clocale>
|
||||
#include <cmath>
|
||||
@ -92,8 +90,10 @@ ScalableFont::~ScalableFont()
|
||||
{
|
||||
if (!m_is_hollow_copy)
|
||||
{
|
||||
if (m_video_driver) m_video_driver->drop();
|
||||
if (m_spritebank) m_spritebank->drop();
|
||||
if (m_video_driver)
|
||||
m_video_driver->drop();
|
||||
if (m_spritebank)
|
||||
m_spritebank->drop();
|
||||
}
|
||||
}
|
||||
|
||||
@ -634,7 +634,6 @@ const ScalableFont::SFontArea &ScalableFont::getAreaFromCharacter(const wchar_t
|
||||
{
|
||||
const int area_id = getAreaIDFromCharacter(c, fallback_font);
|
||||
|
||||
|
||||
if (m_mono_space_digits && ((c>=L'0' && c<=L'9') || c==L' '))
|
||||
{
|
||||
const SFontArea &area = (fallback_font && *fallback_font)
|
||||
|
Loading…
x
Reference in New Issue
Block a user