Gitweb links:
...log
http://git.netsurf-browser.org/netsurf.git/shortlog/e64d48980e38448eeb83d...
...commit
http://git.netsurf-browser.org/netsurf.git/commit/e64d48980e38448eeb83daa...
...tree
http://git.netsurf-browser.org/netsurf.git/tree/e64d48980e38448eeb83daa86...
The branch, master has been updated
via e64d48980e38448eeb83daa8659788d48f845692 (commit)
from b879bed11461095d589ec078757ba47fabf1a380 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commitdiff
http://git.netsurf-browser.org/netsurf.git/commit/?id=e64d48980e38448eeb8...
commit e64d48980e38448eeb83daa8659788d48f845692
Author: Chris Young <chris(a)unsatisfactorysoftware.co.uk>
Commit: Chris Young <chris(a)unsatisfactorysoftware.co.uk>
Attempt to avoid a crash in ami_plot()
diff --git a/amiga/plotters.c b/amiga/plotters.c
index fa5f661..a3c8138 100644
--- a/amiga/plotters.c
+++ b/amiga/plotters.c
@@ -388,6 +388,8 @@ static bool ami_clip(const struct rect *clip)
struct Region *reg = NULL;
+ if(!glob || !glob->rp || !glob->rp->Layer) return true;
+
if(glob->rp->Layer)
{
reg = NewRegion();
-----------------------------------------------------------------------
Summary of changes:
amiga/plotters.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/amiga/plotters.c b/amiga/plotters.c
index fa5f661..a3c8138 100644
--- a/amiga/plotters.c
+++ b/amiga/plotters.c
@@ -388,6 +388,8 @@ static bool ami_clip(const struct rect *clip)
struct Region *reg = NULL;
+ if(!glob || !glob->rp || !glob->rp->Layer) return true;
+
if(glob->rp->Layer)
{
reg = NewRegion();
--
NetSurf Browser