aboutsummaryrefslogtreecommitdiff
path: root/engines/mads/font.h
diff options
context:
space:
mode:
authorPaul Gilbert2016-05-26 21:37:52 -0400
committerPaul Gilbert2016-05-26 21:37:52 -0400
commit78e52365bd1d8cdd56ddce6ae3d52ae04f9abd4c (patch)
treefb00b3cdbef3011a309b084d680d139750824701 /engines/mads/font.h
parentac8adb07c835885584517674b9b03bab14e8a772 (diff)
downloadscummvm-rg350-78e52365bd1d8cdd56ddce6ae3d52ae04f9abd4c.tar.gz
scummvm-rg350-78e52365bd1d8cdd56ddce6ae3d52ae04f9abd4c.tar.bz2
scummvm-rg350-78e52365bd1d8cdd56ddce6ae3d52ae04f9abd4c.zip
MADS: Refactor MSurface and Screen to not use virtual inheritance
Diffstat (limited to 'engines/mads/font.h')
-rw-r--r--engines/mads/font.h2
1 files changed, 1 insertions, 1 deletions
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);
};