=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/colour.c,v retrieving revision 1.23 retrieving revision 1.24 diff -u -r1.23 -r1.24 --- src/usr.bin/tmux/colour.c 2021/10/25 21:21:16 1.23 +++ src/usr.bin/tmux/colour.c 2021/11/01 07:48:04 1.24 @@ -1,4 +1,4 @@ -/* $OpenBSD: colour.c,v 1.23 2021/10/25 21:21:16 nicm Exp $ */ +/* $OpenBSD: colour.c,v 1.24 2021/11/01 07:48:04 nicm Exp $ */ /* * Copyright (c) 2008 Nicholas Marriott @@ -115,7 +115,7 @@ return (colour_256toRGB(c)); if (c >= 0 && c <= 7) return (colour_256toRGB(c)); - if (c >= 90 & c <= 97) + if (c >= 90 && c <= 97) return (colour_256toRGB(8 + c - 90)); return (-1); }