diff options
author | pommicket <pommicket@gmail.com> | 2023-01-04 13:49:01 -0500 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2023-01-04 13:49:01 -0500 |
commit | 87b0da0d33d97abc0ba94ad18d988d370d09441b (patch) | |
tree | 741eb7c368bcbed02f245d84ff6b6285fb83cd4c /ted.c | |
parent | 10d7f910e7b1cde3031ef27c851f9f7700d9b547 (diff) |
some ted.h documentation
Diffstat (limited to 'ted.c')
-rw-r--r-- | ted.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -460,7 +460,7 @@ bool ted_new_file(Ted *ted, const char *filename) { if (ted_open_buffer(ted, &buffer_idx, &tab_idx)) { TextBuffer *buffer = &ted->buffers[buffer_idx]; buffer_new_file(buffer, TED_UNTITLED); - if (!buffer_haserr(buffer)) { + if (!buffer_has_error(buffer)) { return true; } else { ted_error_from_buffer(ted, buffer); |