diff options
Diffstat (limited to 'desktop/frames.c')
-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); |