aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ResourceLoader.cpp2
1 files changed, 1 insertions, 1 deletions
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;
}