diff --git a/src/ssd/ssd-titlebar.c b/src/ssd/ssd-titlebar.c index 09f5362a..8e9fbc97 100644 --- a/src/ssd/ssd-titlebar.c +++ b/src/ssd/ssd-titlebar.c @@ -440,9 +440,8 @@ ssd_update_title(struct ssd *ssd) } struct view *view = ssd->view; - if (string_null_or_empty(view->title)) { - return; - } + /* view->title is never NULL (instead it can be an empty string) */ + assert(view->title); struct theme *theme = view->server->theme; struct ssd_state_title *state = &ssd->state.title;