X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fvideo%2Ffont.cpp;h=e0a8e1977dd59eee6c2be55641e27687232a019b;hb=b029182b66e1f36e8eb7a1d8d23d26d475dec45f;hp=f938279f6d334f71def6bd3a84ddffdf196f5a1c;hpb=2f6318d5598f33ce0dd19017148053518521bd0a;p=supertux.git diff --git a/src/video/font.cpp b/src/video/font.cpp index f938279f6..e0a8e1977 100644 --- a/src/video/font.cpp +++ b/src/video/font.cpp @@ -179,7 +179,7 @@ Font::loadFontFile(const std::string &filename) msg << "Font:" << filename << ": missing shadows image"; throw std::runtime_error(msg.str()); } - if( ! glyphs_val->get_vector("chars", chars) || chars.size() == 0) { + if( ! glyphs_val->get("chars", chars) || chars.size() == 0) { std::ostringstream msg; msg << "Font:" << filename << ": missing chars definition"; throw std::runtime_error(msg.str());