aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/BFontTT.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/wintermute/BFontTT.h')
-rw-r--r--engines/wintermute/BFontTT.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/engines/wintermute/BFontTT.h b/engines/wintermute/BFontTT.h
index 6fbb019a27..5675cca5de 100644
--- a/engines/wintermute/BFontTT.h
+++ b/engines/wintermute/BFontTT.h
@@ -35,6 +35,7 @@
#define NUM_CACHED_TEXTS 30
class SDL_Surface;
+class SDL_Rect;
namespace WinterMute {
class FontGlyphCache;
@@ -55,7 +56,8 @@ private:
bool m_Marked;
CBCachedTTFontText() {
- m_Text = L"";
+ //m_Text = L"";
+ m_Text = "";
m_Width = m_MaxHeight = m_MaxLength = -1;
m_Align = TAL_LEFT;
m_Surface = NULL;
@@ -108,7 +110,7 @@ public:
WideString m_Text;
int m_Width;
};
- typedef std::list<TextLine *> TextLineList;
+ typedef Common::List<TextLine *> TextLineList;
public: