From 398eeeca691a14dd883c33fde16de55fe1ed6a4f Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sat, 22 May 2021 13:37:07 +0200 Subject: Fix 4chan and other html plugins for ubuntu, make movement smooth with 60fps as well, readd updateGeometry --- src/plugins/Fourchan.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins') 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; -- cgit v1.2.3