Avoid setting mark if switching to the same view

这个提交包含在:
Curtis McEnroe 2018-08-12 21:38:25 -04:00
父节点 2ec109e246
当前提交 a09df5f697
找不到此签名对应的密钥
GPG 密钥 ID: CEA2F97ADCFCD77C

2
ui.c
查看文件

@ -210,8 +210,8 @@ static void uiRedraw(void) {
static void uiView(struct View *view) { static void uiView(struct View *view) {
if (view->topic) touchwin(view->topic); if (view->topic) touchwin(view->topic);
touchwin(view->log); touchwin(view->log);
view->mark = false;
ui.view->mark = true; ui.view->mark = true;
view->mark = false;
ui.view = view; ui.view = view;
} }