mirror of
https://github.com/rkd77/elinks.git
synced 2025-02-02 15:09:23 -05:00
Fix RSS rendering
Fix inverted boolean logic from commit 8e954e9f61977fdc7263f5027198ad79118887fb 'rss: check for allocation failure of struct rss_renderer' that totally broke RSS rendering.
This commit is contained in:
parent
9f6ce80da3
commit
3dbdde0f8f
@ -191,7 +191,7 @@ dom_rss_push_document(struct dom_stack *stack, struct dom_node *root, void *xxx)
|
||||
}
|
||||
|
||||
rss = renderer->data = mem_calloc(1, sizeof(*rss));
|
||||
if (rss)
|
||||
if (!rss)
|
||||
return DOM_CODE_ALLOC_ERR;
|
||||
|
||||
/* Initialize styles. */
|
||||
|
Loading…
x
Reference in New Issue
Block a user