From fa5827b144b98b4899137ab3a9a55d0f296ed435 Mon Sep 17 00:00:00 2001 From: Björn Linse Date: Tue, 23 Jun 2015 21:10:35 +0200 Subject: encoding: simplify handling of encoding in TUI --- src/nvim/ui.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/nvim/ui.c') diff --git a/src/nvim/ui.c b/src/nvim/ui.c index e1bbcdb193..786f6026de 100644 --- a/src/nvim/ui.c +++ b/src/nvim/ui.c @@ -113,11 +113,6 @@ void ui_set_icon(char *icon) UI_CALL(flush); } -void ui_update_encoding(void) -{ - UI_CALL(set_encoding, (char*)p_enc); -} - // May update the shape of the cursor. void ui_cursor_shape(void) { @@ -188,7 +183,6 @@ void ui_attach(UI *ui) } uis[ui_count++] = ui; - ui_update_encoding(); ui_refresh(); } -- cgit