diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2012-12-05 18:14:45 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2012-12-05 18:14:45 +0000 |
commit | 61723e01c1beed8591d877c92035b65c448f46df (patch) | |
tree | 43c56b0424ff3c825c2d19764fc1133d00ea07b6 | |
parent | 0718d809180b1bff9c83f4475be4cb918a8564e2 (diff) | |
download | netsurf-61723e01c1beed8591d877c92035b65c448f46df.tar.gz netsurf-61723e01c1beed8591d877c92035b65c448f46df.tar.bz2 |
Avoid NULL pointer access
-rwxr-xr-x | amiga/gui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/amiga/gui.c b/amiga/gui.c index 9fa83e1d1..c71afde71 100755 --- a/amiga/gui.c +++ b/amiga/gui.c @@ -2518,7 +2518,7 @@ void ami_gui_hotlist_toolbar_add(struct gui_window_2 *gwin) RethinkLayout((struct Gadget *)gwin->objects[GID_MAIN], gwin->win, NULL, TRUE); - if(gwin->win) { + if(gwin->bw) { gwin->redraw_required = true; gwin->bw->reformat_pending = true; } |