aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ui.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2015-09-08 08:51:59 -0400
committerJustin M. Keyes <justinkz@gmail.com>2015-09-08 08:51:59 -0400
commit9468e538694cd16847586c66de6e16ee7a090577 (patch)
treee1dfb775ce8c4bd7df56f9edfad36ea4ed30b8a3 /src/nvim/ui.c
parentdc9652e68de163290abee880a74bf1727c715a1e (diff)
parent087f3bacaf2c854f3d07fdece211c4670e140f32 (diff)
downloadrneovim-9468e538694cd16847586c66de6e16ee7a090577.tar.gz
rneovim-9468e538694cd16847586c66de6e16ee7a090577.tar.bz2
rneovim-9468e538694cd16847586c66de6e16ee7a090577.zip
Merge #2929 'Disallow "set encoding" after startup'
Diffstat (limited to 'src/nvim/ui.c')
-rw-r--r--src/nvim/ui.c6
1 files changed, 0 insertions, 6 deletions
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();
}