void-packages/srcpkgs/gtkhtml/patches/fix-test-suite.patch
2018-03-10 20:18:14 +01:00

11 lines
500 B
Diff

--- gtkhtml/test-suite.c 2013-12-13 22:58:34.000000000 +0100
+++ gtkhtml/test-suite.c 2018-03-10 20:06:41.119449731 +0100
@@ -545,7 +545,7 @@
flow_levels = HTML_CLUEFLOW (HTML_CLUE (HTML_CLUE (e->clue)->head)->head)->levels;
/* test if levels are OK */
- if (!flow_levels || !flow_levels->len == 1 || flow_levels->data[0] != HTML_LIST_TYPE_BLOCKQUOTE_CITE)
+ if (!flow_levels || flow_levels->len != 1 || flow_levels->data[0] != HTML_LIST_TYPE_BLOCKQUOTE_CITE)
return FALSE;
return TRUE;