diff options
Diffstat (limited to 'main.c')
| -rw-r--r-- | main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -174,7 +174,7 @@ Str str_printf(Arena *a, const char *fmt, ...) { int ed_buf_save(Editor *e, u32 i) { EditBuf *b = &e->buf[i]; - if (b->type == ED_BUF_FILE || b->type == ED_BUF_BIN_FILE) { + if (b->type == ED_BUF_FILE) { e->msg = str_printf(&e->scratch, "%.02fk written", b->txt->len / 1024.0); return txt_save(b->txt, str_to_cstr(b->path, &e->scratch)); } else { |
