aboutsummaryrefslogtreecommitdiff
path: root/input.c
diff options
context:
space:
mode:
Diffstat (limited to 'input.c')
-rw-r--r--input.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/input.c b/input.c
index bc889a10..b351d6dd 100644
--- a/input.c
+++ b/input.c
@@ -1,4 +1,4 @@
-/* $Id: input.c,v 1.74 2009-01-18 21:46:30 nicm Exp $ */
+/* $Id: input.c,v 1.75 2009-03-28 16:30:05 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -541,9 +541,9 @@ input_state_utf8(u_char ch, struct input_ctx *ictx)
if (value > 0xffff) /* non-BMP not supported */
value = '_';
- ictx->cell.data = value;
+ ictx->text = value;
ictx->cell.flags |= GRID_FLAG_UTF8;
- screen_write_cell(&ictx->ctx, &ictx->cell);
+ screen_write_cell(&ictx->ctx, &ictx->cell, ictx->text);
ictx->cell.flags &= ~GRID_FLAG_UTF8;
}
@@ -585,8 +585,8 @@ input_handle_character(u_char ch, struct input_ctx *ictx)
}
log_debug2("-- ch %zu: %hhu (%c)", ictx->off, ch, ch);
- ictx->cell.data = ch;
- screen_write_cell(&ictx->ctx, &ictx->cell);
+ ictx->text = ch;
+ screen_write_cell(&ictx->ctx, &ictx->cell, ictx->text);
}
void