summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2014-01-06 22:22:41 +0000
committerVincent Sanders <vince@kyllikki.org>2014-01-06 22:22:41 +0000
commitb415c2f9ff8ff4938343237f50c97f31ce6d5a95 (patch)
tree892b5bd43a09c2d02f95e0c4089b352a368fb6bc /desktop
parent28e670f52da46819f8f18844a407bf9ad93043cd (diff)
downloadnetsurf-b415c2f9ff8ff4938343237f50c97f31ce6d5a95.tar.gz
netsurf-b415c2f9ff8ff4938343237f50c97f31ce6d5a95.tar.bz2
fixup logic error in save complete as directed by jmb
Diffstat (limited to 'desktop')
-rw-r--r--desktop/save_complete.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/save_complete.c b/desktop/save_complete.c
index efe223747..3e5234af4 100644
--- a/desktop/save_complete.c
+++ b/desktop/save_complete.c
@@ -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;