diff options
Diffstat (limited to 'src/ResourceLoader.cpp')
-rw-r--r-- | src/ResourceLoader.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/ResourceLoader.cpp b/src/ResourceLoader.cpp index 86687d2..a120096 100644 --- a/src/ResourceLoader.cpp +++ b/src/ResourceLoader.cpp @@ -26,14 +26,6 @@ namespace QuickMedia { return resource_root.c_str(); } - static int accumulate_string(char *data, int size, void *userdata) { - std::string *str = (std::string*)userdata; - if(str->size() + size > 1024 * 1024 * 100) // 100mb sane limit, TODO: make configurable - return 1; - str->append(data, size); - return 0; - } - // 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) { |