diff options
Diffstat (limited to 'engines/saga/font.cpp')
-rw-r--r-- | engines/saga/font.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/saga/font.cpp b/engines/saga/font.cpp index 05f22d685f..3e82bf88e4 100644 --- a/engines/saga/font.cpp +++ b/engines/saga/font.cpp @@ -109,7 +109,7 @@ void Font::loadFont(FontData *font, uint32 fontResourceId) { } font->normal.font.resize(fontResourceLength - FONT_DESCSIZE); - memcpy(&font->normal.font.front(), fontResourcePointer + FONT_DESCSIZE, fontResourceLength - FONT_DESCSIZE); + memcpy(font->normal.font.getBuffer(), fontResourcePointer + FONT_DESCSIZE, fontResourceLength - FONT_DESCSIZE); free(fontResourcePointer); |