diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2011-03-16 20:11:10 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2011-03-16 20:11:10 +0000 |
commit | 5e9bdb16c6b937bc7ea1268765581128aa96fe1a (patch) | |
tree | 2d625c7338c95d863fb1808a06305f2947d2cb26 /desktop | |
parent | bc343037587b175622b5acd8c4c12e4be20f6214 (diff) | |
download | netsurf-5e9bdb16c6b937bc7ea1268765581128aa96fe1a.tar.gz netsurf-5e9bdb16c6b937bc7ea1268765581128aa96fe1a.tar.bz2 |
Temporary hack to stop crashing in Amiga frontend. Roll on frames re-implementation!
svn path=/trunk/netsurf/; revision=12079
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/frames.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/desktop/frames.c b/desktop/frames.c index 856a56395..e4bbabb9e 100644 --- a/desktop/frames.c +++ b/desktop/frames.c @@ -124,6 +124,14 @@ void browser_window_recalculate_iframes(struct browser_window *bw) { int bw_width, bw_height; int index; +#ifdef nsamiga + /* In the Amiga frontend we can switch off IFrames because they + * turn into pop-up hell due to broken frames implementation. + * This stops NetSurf asserting in this specific instance. + */ + if(bw && bw->window == NULL) return; +#endif + assert(bw != NULL); assert(bw->window != NULL); |