diff --git a/src/fe-text/lastlog.c b/src/fe-text/lastlog.c index b93b8361..89ee30a9 100644 --- a/src/fe-text/lastlog.c +++ b/src/fe-text/lastlog.c @@ -118,6 +118,7 @@ static void show_lastlog(const char *searchtext, GHashTable *optlist, return; } } + view = WINDOW_GUI(window)->view; if (g_hash_table_lookup(optlist, "new") != NULL) startline = textbuffer_view_get_bookmark(view, "lastlog_last_check");