diff options
author | pommicket <pommicket@gmail.com> | 2023-01-03 17:10:40 -0500 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2023-01-03 17:10:40 -0500 |
commit | 0d92c03f3998fe4d16f3ba928d3a94583755e1ce (patch) | |
tree | a2afad849822433ea795ce6bc216321722e754f2 /ui.c | |
parent | baae904ed2c97ba5c701442ec5ef6900715f785d (diff) |
rename ted_seterr to ted_error
Diffstat (limited to 'ui.c')
-rw-r--r-- | ui.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -418,9 +418,9 @@ char *file_selector_update(Ted *ted, FileSelector *fs) { if (files) break; else if (i == 0) { if (fs_path_type(cwd) == FS_NON_EXISTENT) - ted_seterr(ted, "%s is not a directory.", cwd); + ted_error(ted, "%s is not a directory.", cwd); else - ted_seterr(ted, "Can't list directory %s.", cwd); + ted_error(ted, "Can't list directory %s.", cwd); } file_selector_cd(ted, fs, ".."); } @@ -478,7 +478,7 @@ char *file_selector_update(Ted *ted, FileSelector *fs) { // set cwd to this (if no buffers are open, the "open" menu should use the last file selector's cwd) strbuf_cpy(ted->cwd, cwd); } else { - ted_seterr(ted, "Couldn't list directory '%s'.", cwd); + ted_error(ted, "Couldn't list directory '%s'.", cwd); } free(search_term); |