aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/MyAnimeList.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/MyAnimeList.cpp')
-rw-r--r--src/plugins/MyAnimeList.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/MyAnimeList.cpp b/src/plugins/MyAnimeList.cpp
index a4d1d30..ee5d4fd 100644
--- a/src/plugins/MyAnimeList.cpp
+++ b/src/plugins/MyAnimeList.cpp
@@ -7,7 +7,7 @@
namespace QuickMedia {
// Returns {0, 0} if unknown
- static sf::Vector2i thumbnail_url_get_resolution(const std::string &url) {
+ static mgl::vec2i thumbnail_url_get_resolution(const std::string &url) {
const size_t index = url.find("/r/");
if(index == std::string::npos)
return {0, 0};
@@ -22,7 +22,7 @@ namespace QuickMedia {
if(size_end_index == std::string::npos)
return {0, 0};
- sf::Vector2i size;
+ mgl::vec2i size;
if(!to_num(url.c_str() + width_index, (x_index - width_index), size.x) || !to_num(url.c_str() + height_index, (size_end_index - height_index), size.y))
return {0, 0};