[project @ 2004-06-02 21:43:07 by bursa]

Reflow back if xosfile_save_stamped() fails.

svn path=/import/netsurf/; revision=925
This commit is contained in:
James Bursa 2004-06-02 21:43:07 +00:00
parent e6909120d6
commit 27a6af1739

View File

@ -121,6 +121,8 @@ bool save_as_draw(struct content *c, char *path)
LOG(("xosfile_save_stamped: 0x%x: %s", LOG(("xosfile_save_stamped: 0x%x: %s",
error->errnum, error->errmess)); error->errnum, error->errmess));
warn_user("SaveError", error->errmess); warn_user("SaveError", error->errmess);
/* attempt to reflow back on failure */
layout_document(box, current_width, c->data.html.box_pool);
return false; return false;
} }