From a03e9fca0a6c349c81efb5cde809f92668330013 Mon Sep 17 00:00:00 2001 From: Matthew Dillon Date: Mon, 10 Apr 2017 21:50:14 -0700 Subject: [PATCH] window - Fix Graphics capability enable test * Fix Graphics capability enable test, code type-o, logical OR has to be AND. Dragonfly-bugs: 3005 (dcb) --- usr.bin/window/ttzentec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.bin/window/ttzentec.c b/usr.bin/window/ttzentec.c index c911e12cd5..757b8abcaa 100644 --- a/usr.bin/window/ttzentec.c +++ b/usr.bin/window/ttzentec.c @@ -56,7 +56,7 @@ tt_zentec(void) { if (tt_generic() < 0) return -1; - if (tt.tt_availmodes | WWM_GRP) + if (tt.tt_availmodes & WWM_GRP) tt.tt_frame = zentec_frame; return 0; } -- 2.41.0