encoding: simplify handling of encoding in TUI

This commit is contained in:
Björn Linse
2015-06-23 21:10:35 +02:00
parent 6769438cd1
commit fa5827b144
6 changed files with 3 additions and 38 deletions

View File

@@ -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();
}