diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2020-05-26 08:56:49 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2020-05-26 08:56:49 +0000 |
commit | 74173e34d3687759f505ff5220c2287eebdfa8f1 (patch) | |
tree | d59cf0b0c48a0389254b9bcd3580e84f6cbf453a /usr.bin | |
parent | f36bc73561735669d6b58c8baa6c9f4af9b41cda (diff) |
Remove leftover debug logging and fix comparison.
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/tmux/grid.c | 3 | ||||
-rw-r--r-- | usr.bin/tmux/status.c | 4 |
2 files changed, 3 insertions, 4 deletions
diff --git a/usr.bin/tmux/grid.c b/usr.bin/tmux/grid.c index 27486db5fb5..0d6bd18850f 100644 --- a/usr.bin/tmux/grid.c +++ b/usr.bin/tmux/grid.c @@ -1,4 +1,4 @@ -/* $OpenBSD: grid.c,v 1.112 2020/05/25 18:57:24 nicm Exp $ */ +/* $OpenBSD: grid.c,v 1.113 2020/05/26 08:56:48 nicm Exp $ */ /* * Copyright (c) 2008 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -496,7 +496,6 @@ grid_get_cell1(struct grid_line *gl, u_int px, struct grid_cell *gc) gc->fg = gee->fg; gc->bg = gee->bg; gc->us = gee->us; - log_debug("!!! %x", gc->flags); utf8_to_data(gee->data, &gc->data); } return; diff --git a/usr.bin/tmux/status.c b/usr.bin/tmux/status.c index fe9d5b6957d..adba1dfb9f5 100644 --- a/usr.bin/tmux/status.c +++ b/usr.bin/tmux/status.c @@ -1,4 +1,4 @@ -/* $OpenBSD: status.c,v 1.215 2020/05/26 08:55:38 nicm Exp $ */ +/* $OpenBSD: status.c,v 1.216 2020/05/26 08:56:48 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -1275,7 +1275,7 @@ process_key: append_key: if (key <= 0x1f || key >= KEYC_BASE) return (0); - if (key < 0x7f) + if (key <= 0x7f) utf8_set(&tmp, key); else utf8_to_data(key, &tmp); |