diff options
Diffstat (limited to 'engines/chewy/text.cpp')
-rw-r--r-- | engines/chewy/text.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/chewy/text.cpp b/engines/chewy/text.cpp index 5a4a526eee..d56246f4ed 100644 --- a/engines/chewy/text.cpp +++ b/engines/chewy/text.cpp @@ -181,7 +181,7 @@ Font::~Font() { _fontSurface.free(); } -::Graphics::Surface *Font::getLine(Common::String text) { +::Graphics::Surface *Font::getLine(const Common::String text) { ::Graphics::Surface *line = new ::Graphics::Surface(); line->create(text.size() * _width, _height, ::Graphics::PixelFormat::createFormatCLUT8()); |