diff options
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/fonts/bdf.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/fonts/bdf.cpp b/graphics/fonts/bdf.cpp index 79d31e5b9a..a8ffe28489 100644 --- a/graphics/fonts/bdf.cpp +++ b/graphics/fonts/bdf.cpp @@ -402,7 +402,7 @@ BdfFont *BdfFont::loadFont(Common::SeekableReadStream &stream) { } } else if (line.hasPrefix("FAMILY_NAME \"")) { familyName = new char[line.size()]; // We will definitely fit here - Common::strlcpy(familyName, &line.c_str()[11], line.size()); + Common::strlcpy(familyName, &line.c_str()[13], line.size()); char *p = &familyName[strlen(familyName)]; while (p != familyName && *p != '"') p--; |