aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
m---------depends/mglpp0
-rw-r--r--src/ResourceLoader.cpp2
2 files changed, 1 insertions, 1 deletions
diff --git a/depends/mglpp b/depends/mglpp
-Subproject f273d44d325a50631698865f6b863b4685e0cb2
+Subproject 89ca6494e61ccca06a410db71458c53859cd492
diff --git a/src/ResourceLoader.cpp b/src/ResourceLoader.cpp
index a120096..d503f14 100644
--- a/src/ResourceLoader.cpp
+++ b/src/ResourceLoader.cpp
@@ -28,7 +28,7 @@ namespace QuickMedia {
// If absolute, use the path; otherwise use fc-match to find the font
static bool find_font(const std::string &font_name, std::string &font_filepath_result) {
- if(get_config().font.latin.find('/') != std::string::npos) {
+ if(font_name[0] == '/') {
font_filepath_result = font_name;
return true;
}