From 27a6af1739bb0d3432342eb3c8c48c454800f11f Mon Sep 17 00:00:00 2001 From: James Bursa Date: Wed, 2 Jun 2004 21:43:07 +0000 Subject: [PATCH] [project @ 2004-06-02 21:43:07 by bursa] Reflow back if xosfile_save_stamped() fails. svn path=/import/netsurf/; revision=925 --- riscos/save_draw.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/riscos/save_draw.c b/riscos/save_draw.c index 155f62bb4..c2ea3b752 100644 --- a/riscos/save_draw.c +++ b/riscos/save_draw.c @@ -121,6 +121,8 @@ bool save_as_draw(struct content *c, char *path) LOG(("xosfile_save_stamped: 0x%x: %s", error->errnum, 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; }