Avoid dereferencing NULL

svn path=/trunk/netsurf/; revision=12421
This commit is contained in:
John Mark Bell 2011-05-16 22:09:26 +00:00
parent 54f6b3bffc
commit 21f01af35a
1 changed files with 2 additions and 1 deletions

View File

@ -153,7 +153,8 @@ void browser_window_recalculate_iframes(struct browser_window *bw) {
rect.x0, rect.y0,
rect.x1, rect.y1);
} else {
LOG(("Bad IFrame window=%p, box=%p",window,window->box));
LOG(("Bad IFrame window=%p, box=%p", window,
window->box != NULL ? window->box : NULL));
}
}
}