summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/grid.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2015-11-12 14:50:57 +0000
committernicm <nicm@openbsd.org>2015-11-12 14:50:57 +0000
commitbe2e89d85ab0a9957d502b018f78289b1df1d21b (patch)
tree7083120927b89a8fccf82aad805e8e4a3211e546 /usr.bin/tmux/grid.c
parentART-specific bits to make sure root tables are properly freed. (diff)
downloadwireguard-openbsd-be2e89d85ab0a9957d502b018f78289b1df1d21b.tar.xz
wireguard-openbsd-be2e89d85ab0a9957d502b018f78289b1df1d21b.zip
grid_put_utf8 is unused, remove it.
Diffstat (limited to 'usr.bin/tmux/grid.c')
-rw-r--r--usr.bin/tmux/grid.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/usr.bin/tmux/grid.c b/usr.bin/tmux/grid.c
index 36ee9d23a75..664ae12f419 100644
--- a/usr.bin/tmux/grid.c
+++ b/usr.bin/tmux/grid.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: grid.c,v 1.46 2015/09/25 15:53:07 nicm Exp $ */
+/* $OpenBSD: grid.c,v 1.47 2015/11/12 14:50:57 nicm Exp $ */
/*
* Copyright (c) 2008 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -42,10 +42,6 @@ const struct grid_cell grid_default_cell = { 0, 0, 8, 8, (1 << 4) | 1, " " };
memcpy(&gd->linedata[py].celldata[px], \
gc, sizeof gd->linedata[py].celldata[px]); \
} while (0)
-#define grid_put_utf8(gd, px, py, gc) do { \
- memcpy(&gd->linedata[py].utf8data[px], \
- gc, sizeof gd->linedata[py].utf8data[px]); \
-} while (0)
int grid_check_y(struct grid *, u_int);