summaryrefslogtreecommitdiff
path: root/src/fe-text
diff options
context:
space:
mode:
Diffstat (limited to 'src/fe-text')
-rw-r--r--src/fe-text/statusbar-items.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/fe-text/statusbar-items.c b/src/fe-text/statusbar-items.c
index b59ce59b..2b6abfdb 100644
--- a/src/fe-text/statusbar-items.c
+++ b/src/fe-text/statusbar-items.c
@@ -464,13 +464,11 @@ static void sig_statusbar_activity_hilight(WINDOW_REC *window, gpointer oldlevel
static void sig_statusbar_activity_window_destroyed(WINDOW_REC *window)
{
- g_return_if_fail(window != NULL);
+ g_return_if_fail(window != NULL);
- if (g_list_find(activity_list, window) != NULL)
- {
- activity_list = g_list_remove(activity_list, window);
- statusbar_item_redraw(activity_item);
- }
+ if (g_list_find(activity_list, window) != NULL)
+ activity_list = g_list_remove(activity_list, window);
+ statusbar_item_redraw(activity_item);
}
/* redraw -- more -- */