diff --git a/sys/dev/vt/vt_core.c b/sys/dev/vt/vt_core.c index ba39daec06e..06503e8897a 100644 --- a/sys/dev/vt/vt_core.c +++ b/sys/dev/vt/vt_core.c @@ -2237,7 +2237,7 @@ vt_mouse_event(int type, int x, int y, int event, int cnt, int mlevel) if (!(vd->vd_mstate & MOUSE_BUTTON1DOWN)) mark = VTB_MARK_EXTEND; else - mark = 0; + mark = VTB_MARK_NONE; break; default: mark = VTB_MARK_EXTEND;