git: 8e7cb25f5be3 - stable/13 - vt(4): Use define instead of numerical value.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 12 Oct 2022 15:54:20 UTC
The branch stable/13 has been updated by hselasky: URL: https://cgit.FreeBSD.org/src/commit/?id=8e7cb25f5be387f00b0b0007facb750c65e042e6 commit 8e7cb25f5be387f00b0b0007facb750c65e042e6 Author: Hans Petter Selasky <hselasky@FreeBSD.org> AuthorDate: 2022-10-05 09:50:42 +0000 Commit: Hans Petter Selasky <hselasky@FreeBSD.org> CommitDate: 2022-10-12 15:53:22 +0000 vt(4): Use define instead of numerical value. No functional change intended. Sponsored by: NVIDIA Networking (cherry picked from commit 18a44589fcdc9833b3756854c2db4b68e750d7d7) --- sys/dev/vt/vt_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/vt/vt_core.c b/sys/dev/vt/vt_core.c index bfe0ffd48249..c5347db94c86 100644 --- a/sys/dev/vt/vt_core.c +++ b/sys/dev/vt/vt_core.c @@ -2240,7 +2240,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;