From da9c03b2787fba736abbb4a5d5879e88aa44e1c9 Mon Sep 17 00:00:00 2001 From: Jonas Fonseca Date: Wed, 4 Jan 2006 18:55:39 +0100 Subject: [PATCH] Use get_opt_codepage_tree() and kill warning --- src/terminal/screen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/terminal/screen.c b/src/terminal/screen.c index 04825bcb3..9b3d359a5 100644 --- a/src/terminal/screen.c +++ b/src/terminal/screen.c @@ -205,7 +205,7 @@ update_screen_driver(struct screen_driver *driver, struct option *term_spec) } if (utf8_io) { - driver->charsets[0] = get_opt_int_tree(term_spec, "charset"); + driver->charsets[0] = get_opt_codepage_tree(term_spec, "charset"); if (driver->type == TERM_LINUX) { if (get_opt_bool_tree(term_spec, "restrict_852")) driver->frame = frame_restrict;