diff --git a/source/status.c b/source/status.c index 9729837..7616000 100644 --- a/source/status.c +++ b/source/status.c @@ -872,8 +872,8 @@ static char *status_notify_windows(Window *window) if (get_int_var(SHOW_STATUS_ALL_VAR) || window == window->screen->current_window) { - *notes = 0; Window *notify_win = NULL; + *notes = 0; while ((traverse_all_windows(¬ify_win))) { if (notify_win->miscflags & WINDOW_NOTIFIED)