ui: Fix out_flush/ui_write behavior to always flush for abstract_ui

This commit is contained in:
Thiago de Arruda
2015-01-10 02:37:22 -03:00
parent df1f62194e
commit b4f516a36a
2 changed files with 7 additions and 6 deletions

View File

@@ -95,6 +95,10 @@ void ui_write(uint8_t *s, int len)
return;
}
if (!len) {
return;
}
char_u *tofree = NULL;
if (output_conv.vc_type != CONV_NONE) {