aboutsummaryrefslogtreecommitdiff
path: root/engines/draci/font.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/draci/font.cpp')
-rw-r--r--engines/draci/font.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/draci/font.cpp b/engines/draci/font.cpp
index 72434d9aa0..284c6b8f48 100644
--- a/engines/draci/font.cpp
+++ b/engines/draci/font.cpp
@@ -30,7 +30,7 @@
namespace Draci {
-DraciFont::DraciFont(Common::String &filename) :
+DraciFont::DraciFont(const Common::String &filename) :
_fontHeight(0), _maxCharWidth(0),
_charWidths(NULL), _charData(0) {
setFont(filename);
@@ -58,7 +58,7 @@ DraciFont::~DraciFont() {
* [138 * fontHeight * maxWidth bytes] character data, stored row-wise
*/
-bool DraciFont::setFont(Common::String &filename) {
+bool DraciFont::setFont(const Common::String &filename) {
// Free previously loaded font (if any)
freeFont();