=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/format-draw.c,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- src/usr.bin/tmux/format-draw.c 2019/03/28 22:18:46 1.7 +++ src/usr.bin/tmux/format-draw.c 2019/04/24 20:27:52 1.8 @@ -1,4 +1,4 @@ -/* $OpenBSD: format-draw.c,v 1.7 2019/03/28 22:18:46 nicm Exp $ */ +/* $OpenBSD: format-draw.c,v 1.8 2019/04/24 20:27:52 nicm Exp $ */ /* * Copyright (c) 2019 Nicholas Marriott @@ -837,7 +837,8 @@ *out++ = *cp; width++; cp++; - } + } else + cp++; } *out = '\0'; return (copy); @@ -883,7 +884,8 @@ *out++ = *cp; width++; cp++; - } + } else + cp++; } *out = '\0'; return (copy);