1
0
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:
Miciah Dashiel Butler Masters 2007-08-31 00:08:19 +00:00 committed by Miciah Dashiel Butler Masters
parent 9f6ce80da3
commit 3dbdde0f8f

View File

@ -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. */