| Index: core/src/fxge/ge/fx_ge_font.cpp
|
| diff --git a/core/src/fxge/ge/fx_ge_font.cpp b/core/src/fxge/ge/fx_ge_font.cpp
|
| index aa19c58b05b0c2a66a47b550860c12ad86170a62..468033eb01dbb8fbc509831e6b820890ae5333fe 100644
|
| --- a/core/src/fxge/ge/fx_ge_font.cpp
|
| +++ b/core/src/fxge/ge/fx_ge_font.cpp
|
| @@ -116,13 +116,13 @@ void CFX_Font::DeleteFace() {
|
| FXFT_Done_Face(m_Face);
|
| m_Face = NULL;
|
| }
|
| -FX_BOOL CFX_Font::LoadSubst(const CFX_ByteString& face_name,
|
| - FX_BOOL bTrueType,
|
| - FX_DWORD flags,
|
| - int weight,
|
| - int italic_angle,
|
| - int CharsetCP,
|
| - FX_BOOL bVertical) {
|
| +void CFX_Font::LoadSubst(const CFX_ByteString& face_name,
|
| + FX_BOOL bTrueType,
|
| + FX_DWORD flags,
|
| + int weight,
|
| + int italic_angle,
|
| + int CharsetCP,
|
| + FX_BOOL bVertical) {
|
| m_bEmbedded = FALSE;
|
| m_bVertical = bVertical;
|
| m_pSubstFont = new CFX_SubstFont;
|
| @@ -139,7 +139,6 @@ FX_BOOL CFX_Font::LoadSubst(const CFX_ByteString& face_name,
|
| m_pFontData = FXFT_Get_Face_Stream_Base(m_Face);
|
| m_dwSize = FXFT_Get_Face_Stream_Size(m_Face);
|
| }
|
| - return TRUE;
|
| }
|
| extern "C" {
|
| unsigned long _FTStreamRead(FXFT_Stream stream,
|
|
|