mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-28 09:13:08 +03:00
Temporary hack to stop crashing in Amiga frontend. Roll on frames re-implementation!
svn path=/trunk/netsurf/; revision=12079
This commit is contained in:
parent
bc34303758
commit
5e9bdb16c6
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user