From a09df5f69729dcdddf413f3a47e3c0c9d7b239eb Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Sun, 12 Aug 2018 21:38:25 -0400 Subject: Avoid setting mark if switching to the same view --- ui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui.c b/ui.c index 9f198c4..559f7b7 100644 --- a/ui.c +++ b/ui.c @@ -210,8 +210,8 @@ static void uiRedraw(void) { static void uiView(struct View *view) { if (view->topic) touchwin(view->topic); touchwin(view->log); - view->mark = false; ui.view->mark = true; + view->mark = false; ui.view = view; } -- cgit 1.4.1-2-gfad0