aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/Fourchan.cpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-05-22 13:37:07 +0200
committerdec05eba <dec05eba@protonmail.com>2021-05-22 13:37:07 +0200
commit398eeeca691a14dd883c33fde16de55fe1ed6a4f (patch)
treebb7383d6899ce759563c6303934deac82b279d90 /src/plugins/Fourchan.cpp
parentb1860b675c3be3433bc370b4d53480722d529b95 (diff)
Fix 4chan and other html plugins for ubuntu, make movement smooth with 60fps as well, readd updateGeometry
Diffstat (limited to 'src/plugins/Fourchan.cpp')
-rw-r--r--src/plugins/Fourchan.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/Fourchan.cpp b/src/plugins/Fourchan.cpp
index 2b31e70..07b5425 100644
--- a/src/plugins/Fourchan.cpp
+++ b/src/plugins/Fourchan.cpp
@@ -152,7 +152,7 @@ namespace QuickMedia {
static void extract_comment_pieces(const char *html_source, size_t size, CommentPieceCallback callback) {
TidyDoc doc = tidyCreate();
tidyOptSetBool(doc, TidyShowWarnings, no);
- tidyOptSetBool(doc, TidyUseCustomTags, yes);
+ tidyOptSetInt(doc, TidyUseCustomTags, 1);
tidyOptSetInt(doc, TidyWrapLen, 0);
if(tidyParseString(doc, html_source) < 0) {
CommentPiece comment_piece;