projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* remove unused libvorbisenc from FindOggVorbis and link path
[supertux.git]
/
src
/
video
/
font.cpp
diff --git
a/src/video/font.cpp
b/src/video/font.cpp
index
f938279
..
e0a8e19
100644
(file)
--- 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());
}
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());
std::ostringstream msg;
msg << "Font:" << filename << ": missing chars definition";
throw std::runtime_error(msg.str());