summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xamiga/gui.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/amiga/gui.c b/amiga/gui.c
index 1e55d5357..d00423ce7 100755
--- a/amiga/gui.c
+++ b/amiga/gui.c
@@ -3774,7 +3774,8 @@ void gui_window_set_search_ico(struct content *ico)
nnode=(struct nsObject *)GetSucc((struct Node *)node);
gwin = node->objstruct;
- if(node->Type == AMINS_WINDOW)
+ if((node->Type == AMINS_WINDOW) &&
+ (gwin->bw->browser_window_type == BROWSER_WINDOW_NORMAL))
{
GetAttr(SPACE_AreaBox, (Object *)gwin->objects[GID_SEARCH_ICON], (ULONG *)&bbox);