aboutsummaryrefslogtreecommitdiff
path: root/input.c
diff options
context:
space:
mode:
Diffstat (limited to 'input.c')
-rw-r--r--input.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/input.c b/input.c
index 2ff1ec5e..9f5cb6b0 100644
--- a/input.c
+++ b/input.c
@@ -1,4 +1,4 @@
-/* $Id: input.c,v 1.68 2008-12-05 20:04:06 nicm Exp $ */
+/* $Id: input.c,v 1.69 2008-12-08 16:19:51 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -512,7 +512,7 @@ input_state_utf8(u_char ch, struct input_ctx *ictx)
void
input_handle_character(u_char ch, struct input_ctx *ictx)
{
- if (ictx->w->flags & WINDOW_UTF8 && ch > 0x7f) {
+ if (ch > 0x7f && options_get_number(&ictx->w->options, "utf8")) {
/*
* UTF-8 sequence.
*