summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2011-11-10 14:22:02 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2011-11-10 14:22:02 +0000
commitb14c4f0a0b9ee3c3f2f1239c0c05b7b5a19ee1fa (patch)
tree5f3cfd14feacc393e7ade46259a85f774e217096
parentee58cd0ea0ea689d54e25289a699b9b733d9ad48 (diff)
downloadnetsurf-b14c4f0a0b9ee3c3f2f1239c0c05b7b5a19ee1fa.tar.gz
netsurf-b14c4f0a0b9ee3c3f2f1239c0c05b7b5a19ee1fa.tar.bz2
Revert r13138
svn path=/trunk/netsurf/; revision=13144
-rwxr-xr-xamiga/gui.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/amiga/gui.c b/amiga/gui.c
index fa007a1b5..b9e6ce706 100755
--- a/amiga/gui.c
+++ b/amiga/gui.c
@@ -3109,7 +3109,7 @@ void gui_window_set_title(struct gui_window *g, const char *title)
utf8title = ami_utf8_easy((char *)title);
- if(g->tab_node && (g->shared->tabs >= 1))
+ if(g->tab_node && (g->shared->tabs > 1))
{
node = g->tab_node;
@@ -3137,9 +3137,8 @@ void gui_window_set_title(struct gui_window *g, const char *title)
g->shared->win, NULL, TRUE);
}
- if(g->shared->tabs > 1)
- GetAttr(CLICKTAB_Current, g->shared->objects[GID_TABS],
- (ULONG *)&cur_tab);
+ GetAttr(CLICKTAB_Current, g->shared->objects[GID_TABS],
+ (ULONG *)&cur_tab);
}
if((cur_tab == g->tab) || (g->shared->tabs <= 1))