aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2009-03-29 11:18:28 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2009-03-29 11:18:28 +0000
commit23fef99009dc21eee74865cdf66fb19822876055 (patch)
tree1e22e685b2ecbd0e651cfdc2acd956193352382b /tmux.h
parent4cbf7d489e1d27a0b85c5d2dee791b108bbb6530 (diff)
downloadrtmux-23fef99009dc21eee74865cdf66fb19822876055.tar.gz
rtmux-23fef99009dc21eee74865cdf66fb19822876055.tar.bz2
rtmux-23fef99009dc21eee74865cdf66fb19822876055.zip
8 -> UTF8_SIZE.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/tmux.h b/tmux.h
index 2e077ff0..94cb06cb 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1,4 +1,4 @@
-/* $Id: tmux.h,v 1.291 2009-03-28 20:17:29 nicm Exp $ */
+/* $Id: tmux.h,v 1.292 2009-03-29 11:18:28 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -493,9 +493,10 @@ struct grid_cell {
} __packed;
/* Grid cell UTF-8 data. Used instead of data in grid_cell for UTF-8 cells. */
+#define UTF8_SIZE 8
struct grid_utf8 {
u_char width;
- u_char data[8];
+ u_char data[UTF8_SIZE];
} __packed;
/* Entire grid of cells. */