fixup logic error in save complete as directed by jmb

This commit is contained in:
Vincent Sanders 2014-01-06 22:22:41 +00:00
parent 28e670f52d
commit b415c2f9ff
1 changed files with 1 additions and 1 deletions

View File

@ -435,7 +435,7 @@ static bool save_complete_save_html_objects(save_complete_ctx *ctx,
object = html_get_objects(c, &count);
for (; object != NULL; object = object->next) {
if (object->content != NULL || object->box != NULL) {
if ((object->content != NULL) && (object->box != NULL)) {
if (save_complete_save_html_object(ctx,
object->content) == false)
return false;