summaryrefslogtreecommitdiff
path: root/amiga/gui.c
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2011-09-04 22:35:11 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2011-09-04 22:35:11 +0000
commit330227d87a7c099775d5db000416413f0271701d (patch)
tree3c1bbbe6b8161e518ced1901bcea0f54baf88d67 /amiga/gui.c
parent985bf9e1917e7da57ab72f12357ab31cd4a26ca8 (diff)
downloadnetsurf-330227d87a7c099775d5db000416413f0271701d.tar.gz
netsurf-330227d87a7c099775d5db000416413f0271701d.tar.bz2
Remove more checks for browser_window_type
svn path=/trunk/netsurf/; revision=12719
Diffstat (limited to 'amiga/gui.c')
-rwxr-xr-xamiga/gui.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/amiga/gui.c b/amiga/gui.c
index c310cd04f..171b6bfd1 100755
--- a/amiga/gui.c
+++ b/amiga/gui.c
@@ -3681,8 +3681,7 @@ void gui_window_set_search_ico(hlcache_handle *ico)
nnode=(struct nsObject *)GetSucc((struct Node *)node);
gwin = node->objstruct;
- if((node->Type == AMINS_WINDOW) &&
- (gwin->bw->browser_window_type == BROWSER_WINDOW_NORMAL))
+ if(node->Type == AMINS_WINDOW)
{
GetAttr(SPACE_AreaBox, gwin->objects[GID_SEARCH_ICON], (ULONG *)&bbox);