mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-24 07:19:37 +03:00
[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:
parent
e6909120d6
commit
27a6af1739
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user