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 /session.c | |
parent | 10d7f910e7b1cde3031ef27c851f9f7700d9b547 (diff) |
some ted.h documentation
Diffstat (limited to 'session.c')
-rw-r--r-- | session.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -230,7 +230,7 @@ static void session_read_buffer(Ted *ted, FILE *fp) { char filename[TED_PATH_MAX] = {0}; read_cstr(fp, filename, sizeof filename); buffer_create(buffer, ted); - if (!buffer_haserr(buffer)) { + if (!buffer_has_error(buffer)) { if (*filename) { if (!buffer_load_file(buffer, filename)) buffer_new_file(buffer, TED_UNTITLED); |