diff options
author | dec05eba <dec05eba@protonmail.com> | 2021-06-30 14:23:13 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2021-06-30 14:23:13 +0200 |
commit | 496f71413df2468a9d3329355ffef08280219808 (patch) | |
tree | 7efc4ca43d61299fae056cc2afcb41ef0db4f505 /src/Body.cpp | |
parent | 65457dc196f1b56128b1dc6eeaf3a086da1a180f (diff) |
Fix youtube redirect code (fixes all youtube videos)
Diffstat (limited to 'src/Body.cpp')
-rw-r--r-- | src/Body.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Body.cpp b/src/Body.cpp index c841f98..fcdc850 100644 --- a/src/Body.cpp +++ b/src/Body.cpp @@ -125,9 +125,9 @@ namespace QuickMedia { replies = other.replies; post_number = other.post_number; userdata = other.userdata; - loaded_height = other.loaded_height; - loaded_image_size = other.loaded_image_size; - loaded_content_height = other.loaded_content_height; + loaded_height = 0.0f; + loaded_image_size = sf::Vector2f(0.0f, 0.0f); + loaded_content_height = 0.0f; embedded_item_status = other.embedded_item_status; if(other.embedded_item) { embedded_item.reset(new BodyItem("")); |