From 78e52365bd1d8cdd56ddce6ae3d52ae04f9abd4c Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Thu, 26 May 2016 21:37:52 -0400 Subject: MADS: Refactor MSurface and Screen to not use virtual inheritance --- engines/mads/font.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/mads/font.h') diff --git a/engines/mads/font.h b/engines/mads/font.h index 486cadcfff..a27de6e283 100644 --- a/engines/mads/font.h +++ b/engines/mads/font.h @@ -86,7 +86,7 @@ public: int maxWidth() const { return _maxWidth; } int getWidth(const Common::String &msg, int spaceWidth = -1); int getHeight() const { return _maxHeight; } - int writeString(MSurface *surface, const Common::String &msg, const Common::Point &pt, + int writeString(BaseSurface *surface, const Common::String &msg, const Common::Point &pt, int spaceWidth = 0, int width = 0); }; -- cgit v1.2.3