8 -> UTF8_SIZE.

This commit is contained in:
Nicholas Marriott
2009-03-29 11:18:28 +00:00
parent 4cbf7d489e
commit 23fef99009
5 changed files with 14 additions and 13 deletions

5
tmux.h
View File

@ -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. */