Unbreak UTF-8.

This commit is contained in:
Nicholas Marriott
2009-01-18 21:46:30 +00:00
parent 7bc8be006e
commit 4cdc228353
6 changed files with 24 additions and 15 deletions

View File

@@ -1,4 +1,4 @@
/* $Id: input.c,v 1.73 2009-01-11 23:31:46 nicm Exp $ */
/* $Id: input.c,v 1.74 2009-01-18 21:46:30 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -542,7 +542,9 @@ input_state_utf8(u_char ch, struct input_ctx *ictx)
value = '_';
ictx->cell.data = value;
ictx->cell.flags |= GRID_FLAG_UTF8;
screen_write_cell(&ictx->ctx, &ictx->cell);
ictx->cell.flags &= ~GRID_FLAG_UTF8;
}
void